From bfb8a2aeadf3afd380e96aab18c34be8b739e689 Mon Sep 17 00:00:00 2001 From: Yute Lin Date: Wed, 23 Aug 2017 14:22:22 +0800 Subject: [PATCH] travis: run tests in parallel --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7176479f..4113f944 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)