aboutsummaryrefslogtreecommitdiff
path: root/travis_tests.sh
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-04-01 15:37:49 +0000
committerEmiliano Ciavatta2020-04-01 16:43:22 +0000
commitabfd4957925b7d9dd6d12195bd3d6366c845e9e3 (patch)
treed073e55a45931f9f2fed0e58cd1fe894180ef155 /travis_tests.sh
parentc2f10d25535ce9dd6e448434f1bd859e24d4f77b (diff)
Add code coverage trigger
Diffstat (limited to 'travis_tests.sh')
-rwxr-xr-xtravis_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/travis_tests.sh b/travis_tests.sh
index cb4363c..5c51823 100755
--- a/travis_tests.sh
+++ b/travis_tests.sh
@@ -4,7 +4,7 @@
sleep 10
# run tests
-go test -v
+go test -v -race -coverprofile=coverage.txt -covermode=atomic
RET_CODE=$?