Skip to content

Commit

Permalink
Fix travis coverage on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene Kroon committed Dec 18, 2021
1 parent f3ee70c commit d454340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ script:
- golint .
- go test -cover -race -count=1 -timeout=30s -run .
- go test -covermode=count -coverprofile=coverage.out -timeout=90s -run .
- 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
- cd bench; go test -run=Bench.* -bench=. -benchmem; cd ..

0 comments on commit d454340

Please sign in to comment.