Skip to content

Commit

Permalink
only run coveralls if not a pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
djherbis committed Apr 16, 2015
1 parent d79d68d commit 5c4b5f6
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 @@ -7,7 +7,7 @@ before_install:
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && $HOME/gopath/bin/goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN || true'
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || $HOME/gopath/bin/goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN'
- $HOME/gopath/bin/golint ./...
- go vet
- go test -v ./...
Expand Down

0 comments on commit 5c4b5f6

Please sign in to comment.