From 1b91723b710103354136a48eb2192dabf47b3a96 Mon Sep 17 00:00:00 2001 From: alitto Date: Sun, 29 Mar 2020 10:21:09 -0300 Subject: [PATCH] Add .travis.yml --- .travis.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..22a8a9d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: go + +os: + - linux + - osx + - windows + +go: + - 1.11.x + - 1.12.x + - 1.13.x + - 1.14.x + +script: + - 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