Skip to content

Commit

Permalink
go cover mode needs to be set to atomic
Browse files Browse the repository at this point in the history
Signed-off-by: Levi Gross <[email protected]>
  • Loading branch information
levigross committed Dec 23, 2015
1 parent 2fac7ec commit 3a1c439
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ script:
- diff -u <(echo -n) <(gofmt -s -d ./)
- diff -u <(echo -n) <(go vet ./...)
- diff -u <(echo -n) <(golint ./...)
- go test -v -race
- go test -v -covermode=count -coverprofile=coverage.out
- go test -v -race -covermode=atomic -coverprofile=coverage.out

after_success:
- goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN

0 comments on commit 3a1c439

Please sign in to comment.