Merge pull request #38 from getamis/test/run-tests-in-parallel
travis: run tests in parallel
This commit is contained in:
commit
2dd5f02c93
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue