Skip to content

Commit

Permalink
Merge pull request #5 from smira/codecov
Browse files Browse the repository at this point in the history
Add codecov.io integration
  • Loading branch information
smira authored Mar 21, 2018
2 parents 29b5879 + b1db35e commit 408e199
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ _testmain.go
*.exe
*.test
*.prof

coverage.txt
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ go:
matrix:
allow_failures:
- go: master

after_success:
- bash <(curl -s https://codecov.io/bash)
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ deps:
gometalinter --install

test: deps
go test -race -v ./...
go test -race -v -coverprofile=coverage.txt -covermode=atomic

bench: deps
go test -v -bench . -benchmem -run nothing ./...
Expand Down

0 comments on commit 408e199

Please sign in to comment.