Skip to content

Commit

Permalink
only run coverage on master
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene Kroon committed Nov 7, 2021
1 parent f02d66e commit 6eff24f
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 .
- '[ ! -z "$COVERALLS_TOKEN" ] && $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN'
- if [ "$TRAVIS_BRANCH" = "master" ]; 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 6eff24f

Please sign in to comment.