diff options
author | Mike JS. Choi <mkchoi212@icloud.com> | 2018-05-18 15:19:54 -0500 |
---|---|---|
committer | Mike JS. Choi <mkchoi212@icloud.com> | 2018-05-18 15:20:03 -0500 |
commit | fc8e377b156180a1dd8374192fc9d5acc3b4f316 (patch) | |
tree | a251fbc0ab192c1e2810543c9c6f8d861de6b35d | |
parent | 7ef83505253f66e647f0f2b53f15f385686cd078 (diff) |
Integrate codecov with Travis CImore-tests
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3e5ee4e..177c06c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,15 @@ language: go + go: - master + - tip + +before_install: + - go get -t -v ./... + +script: + - go test -race -coverprofile=coverage.txt -covermode=atomic `go list ./...` + +after_success: + - bash <(curl -s https://codecov.io/bash) -script: go test -v -cover `go list ./...` |