aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/go.opencensus.io/.travis.yml
diff options
context:
space:
mode:
authorNathan Dench <ndenc2@gmail.com>2019-05-24 15:16:44 +1000
committerNathan Dench <ndenc2@gmail.com>2019-05-24 15:16:44 +1000
commit107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch)
treeca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/go.opencensus.io/.travis.yml
parent844b5a68d8af4791755b8f0ad293cc99f5959183 (diff)
downloadterraform-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.yml27
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 @@
1language: go
2
3go:
4 # 1.8 is tested by AppVeyor
5 - 1.11.x
6
7go_import_path: go.opencensus.io
8
9# Don't email me the results of the test runs.
10notifications:
11 email: false
12
13before_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
19script:
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