🐼 Improvement to travis-ci

This commit is contained in:
Andy Pan 2019-01-27 12:17:45 +08:00
parent c4d92bf4ef
commit 250b05bd03
1 changed files with 2 additions and 2 deletions

View File

@ -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)