Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit bd9c5d4

Browse files
committed
Added code coverage via Codecov.
1 parent f237b8d commit bd9c5d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ language: go
22
go:
33
- 1.4.2
44
script:
5-
- go test -v ./...
5+
- go test -v ./... -coverprofile=coverage.txt -covermode=atomic
6+
after_success:
7+
- bash <(curl -s https://codecov.io/bash)
68
before_deploy:
79
- go get github.com/mitchellh/gox
810
- gox -osarch="darwin/amd64" -osarch="linux/arm" -osarch="linux/386" -osarch="windows/386" -build-toolchain

0 commit comments

Comments
 (0)