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 21:37:32 -0500 |
commit | e04392c7e02176bc14279f77afa1ae32e1376631 (patch) | |
tree | b049ac26484049661feb60c6d60e2fc0f9a1b591 | |
parent | b15c9ad43c43ffae13864db66247397d27b5ef79 (diff) |
Integrate codecov with Travis CI
-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 ./...` |