Fix travis build

This commit is contained in:
alitto
2020-03-29 13:28:46 -03:00
parent 69a6d6efae
commit 0ec6ce3c5d
+8 -1
View File
@@ -11,8 +11,15 @@ go:
- 1.13.x
- 1.14.x
# Enable Go Modules
env:
- GO111MODULE=on
# Skip go get
install: true
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic -v
- go test ./ -race -coverprofile=coverage.txt -covermode=atomic -v
after_success:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then curl -s https://codecov.io/bash > .codecov && chmod +x .codecov && ./.codecov; else bash <(curl -s https://codecov.io/bash); fi