Merge pull request #38 from getamis/test/run-tests-in-parallel

travis: run tests in parallel
This commit is contained in:
yutelin 2017-08-23 15:22:14 +08:00 committed by GitHub
commit 2dd5f02c93
1 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@ matrix:
sudo: required
go: 1.7.6
script:
- go test $(glide novendor)
- go test -parallel 4 $(glide novendor | grep -v "\.\/tests\/\.\.\.") && cd tests && ginkgo -p
# These are the latest Go versions.
- os: linux
@ -16,13 +16,14 @@ matrix:
sudo: required
go: 1.8.3
script:
- go test $(glide novendor)
- go test -parallel 4 $(glide novendor | grep -v "\.\/tests\/\.\.\.") && cd tests && ginkgo -p
services:
- docker
install:
- go get github.com/Masterminds/glide
- go get github.com/onsi/ginkgo/ginkgo
script:
- go test $(glide novendor)