summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike JS. Choi <mkchoi212@icloud.com>2018-05-18 15:19:54 -0500
committerMike JS. Choi <mkchoi212@icloud.com>2018-05-18 21:37:32 -0500
commite04392c7e02176bc14279f77afa1ae32e1376631 (patch)
treeb049ac26484049661feb60c6d60e2fc0f9a1b591
parentb15c9ad43c43ffae13864db66247397d27b5ef79 (diff)
Integrate codecov with Travis CI
-rw-r--r--.travis.yml12
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 ./...`