Add .travis.yml

This commit is contained in:
alitto
2020-03-29 10:21:09 -03:00
parent de7514db30
commit 1b91723b71
+18
View File
@@ -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