Testing ants on multiple operating systems

This commit is contained in:
Andy Pan 2019-11-15 12:13:51 +08:00
parent 562ae1caf1
commit 73c26bc792
1 changed files with 9 additions and 9 deletions

View File

@ -1,18 +1,18 @@
language: go
go:
- "1.9.x"
- "1.10.x"
- "1.11.x"
- "1.12.x"
- "1.13.x"
os:
- linux
- osx
- windows
before_install:
- go get -t -v ./...
go:
- 1.11.x
- 1.12.x
- 1.13.x
script:
#- go test -cpu=16 -bench=. -benchmem=true -run=none ./...
- go test -race -coverprofile=coverage.txt -covermode=atomic -v
after_success:
- bash <(curl -s https://codecov.io/bash)
- 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