mirror of https://github.com/panjf2000/ants.git
Testing ants on multiple operating systems
This commit is contained in:
parent
562ae1caf1
commit
73c26bc792
18
.travis.yml
18
.travis.yml
|
@ -1,18 +1,18 @@
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
os:
|
||||||
- "1.9.x"
|
- linux
|
||||||
- "1.10.x"
|
- osx
|
||||||
- "1.11.x"
|
- windows
|
||||||
- "1.12.x"
|
|
||||||
- "1.13.x"
|
|
||||||
|
|
||||||
before_install:
|
go:
|
||||||
- go get -t -v ./...
|
- 1.11.x
|
||||||
|
- 1.12.x
|
||||||
|
- 1.13.x
|
||||||
|
|
||||||
script:
|
script:
|
||||||
#- go test -cpu=16 -bench=. -benchmem=true -run=none ./...
|
#- go test -cpu=16 -bench=. -benchmem=true -run=none ./...
|
||||||
- go test -race -coverprofile=coverage.txt -covermode=atomic -v
|
- go test -race -coverprofile=coverage.txt -covermode=atomic -v
|
||||||
|
|
||||||
after_success:
|
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
|
||||||
|
|
Loading…
Reference in New Issue