mirror of https://github.com/panjf2000/ants.git
🐼 Improvement to travis-ci
This commit is contained in:
parent
c4d92bf4ef
commit
250b05bd03
|
@ -11,8 +11,8 @@ before_install:
|
|||
- go get -t -v ./...
|
||||
|
||||
script:
|
||||
- go test -race -coverprofile=coverage.txt -covermode=atomic -v
|
||||
# - go test -bench=. -benchmem=true -run=none ./...
|
||||
- go test -cpu=16 -bench=. -benchmem=true -run=none ./...
|
||||
- go test -race -cpu=1,16 -coverprofile=coverage.txt -covermode=atomic -v
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
|
Loading…
Reference in New Issue