diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/go.opencensus.io/.travis.yml | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/go.opencensus.io/.travis.yml')
-rw-r--r-- | vendor/go.opencensus.io/.travis.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/go.opencensus.io/.travis.yml b/vendor/go.opencensus.io/.travis.yml new file mode 100644 index 0000000..73c8571 --- /dev/null +++ b/vendor/go.opencensus.io/.travis.yml | |||
@@ -0,0 +1,27 @@ | |||
1 | language: go | ||
2 | |||
3 | go: | ||
4 | # 1.8 is tested by AppVeyor | ||
5 | - 1.11.x | ||
6 | |||
7 | go_import_path: go.opencensus.io | ||
8 | |||
9 | # Don't email me the results of the test runs. | ||
10 | notifications: | ||
11 | email: false | ||
12 | |||
13 | before_script: | ||
14 | - GO_FILES=$(find . -iname '*.go' | grep -v /vendor/) # All the .go files, excluding vendor/ if any | ||
15 | - PKGS=$(go list ./... | grep -v /vendor/) # All the import paths, excluding vendor/ if any | ||
16 | - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh # Install latest dep release | ||
17 | - go get github.com/rakyll/embedmd | ||
18 | |||
19 | script: | ||
20 | - embedmd -d README.md # Ensure embedded code is up-to-date | ||
21 | - go build ./... # Ensure dependency updates don't break build | ||
22 | - if [ -n "$(gofmt -s -l $GO_FILES)" ]; then echo "gofmt the following files:"; gofmt -s -l $GO_FILES; exit 1; fi | ||
23 | - go vet ./... | ||
24 | - go test -v -race $PKGS # Run all the tests with the race detector enabled | ||
25 | - GOARCH=386 go test -v $PKGS # Run all tests against a 386 architecture | ||
26 | - 'if [[ $TRAVIS_GO_VERSION = 1.8* ]]; then ! golint ./... | grep -vE "(_mock|_string|\.pb)\.go:"; fi' | ||
27 | - go run internal/check/version.go | ||