aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c401935..7fb90ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,10 +10,13 @@ before_script:
script:
- golangci-lint run
- - go test -v -race ./...
+ - go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- go build
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
+
+after_success:
+ - bash <(curl -s https://codecov.io/bash)