travis: run tests in parallel

This commit is contained in:
Yute Lin 2017-08-23 14:22:22 +08:00
parent 75a7605539
commit bfb8a2aead
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)