Skip to content

Commit

Permalink
And generate the coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Sep 17, 2018
1 parent e5a2f68 commit 5be0433
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
- stage: test
- stage: "Coveralls"
if: env(TRAVIS_PULL_REQUEST) IS NOT present
script: go test -tags ci -race -covermode=atomic -coverprofile=coverage.out ./...
script: $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
script:
- go test -tags ci -race -covermode=atomic -coverprofile=coverage.out ./...
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN

env:
global:
Expand Down

0 comments on commit 5be0433

Please sign in to comment.