We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d05ef4 + d454340 commit 9f34b6bCopy full SHA for 9f34b6b
.travis.yml
@@ -18,5 +18,5 @@ script:
18
- golint .
19
- go test -cover -race -count=1 -timeout=30s -run .
20
- go test -covermode=count -coverprofile=coverage.out -timeout=90s -run .
21
- - if [ "$TRAVIS_BRANCH" = "master" ]; then $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
+ - if test ! -z "$COVERALLS_TOKEN"; then $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
22
- cd bench; go test -run=Bench.* -bench=. -benchmem; cd ..
0 commit comments