From 0ec6ce3c5d7d5aabe7695ff9e078c40e247f1391 Mon Sep 17 00:00:00 2001 From: alitto Date: Sun, 29 Mar 2020 13:28:46 -0300 Subject: [PATCH] Fix travis build --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 22a8a9d..e09b501 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file