add coverage in travis

This commit is contained in:
matcornic 2017-03-30 20:57:35 +02:00
parent aed8caf1cc
commit 3e53fd24bd
1 changed files with 5 additions and 2 deletions

View File

@ -13,5 +13,8 @@ install:
- gometalinter -u -i -f
script:
- go test ./...
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- gometalinter --config=./gometalinter.json ./...
after_success:
- bash <(curl -s https://codecov.io/bash)