mirror of https://github.com/panjf2000/ants.git
19 lines
416 B
YAML
19 lines
416 B
YAML
language: go
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
- windows
|
|
|
|
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:
|
|
- 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
|