summaryrefslogtreecommitdiff
path: root/vendor/github.com/spf13/cobra/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/spf13/cobra/.travis.yml')
-rw-r--r--vendor/github.com/spf13/cobra/.travis.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/vendor/github.com/spf13/cobra/.travis.yml b/vendor/github.com/spf13/cobra/.travis.yml
new file mode 100644
index 000000000..e0a3b5004
--- /dev/null
+++ b/vendor/github.com/spf13/cobra/.travis.yml
@@ -0,0 +1,28 @@
+language: go
+
+stages:
+ - test
+ - build
+
+go:
+ - 1.12.x
+ - 1.13.x
+ - tip
+
+env: GO111MODULE=on
+
+before_install:
+ - go get -u github.com/kyoh86/richgo
+ - go get -u github.com/mitchellh/gox
+ - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest
+
+matrix:
+ allow_failures:
+ - go: tip
+ include:
+ - stage: build
+ go: 1.13.x
+ script: make cobra_generator
+
+script:
+ - make test