aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-09-26 21:31:10 +0800
committerGitHub <noreply@github.com>2016-09-26 21:31:10 +0800
commit61734cc7ae8dfc194a214f9ae442deb95d79b3a4 (patch)
treea0eb70452858efbf0cdae535f45945c737151b5a
parent7f2b077da4647a8551bc663d29a96ed9f2142396 (diff)
parent0951524ca23b3d7a75cce79b95551e378918c0e8 (diff)
downloadgo-tangerine-61734cc7ae8dfc194a214f9ae442deb95d79b3a4.tar.gz
go-tangerine-61734cc7ae8dfc194a214f9ae442deb95d79b3a4.tar.zst
go-tangerine-61734cc7ae8dfc194a214f9ae442deb95d79b3a4.zip
Merge pull request #3041 from fjl/build-less-parallel
build: limit test concurrency
-rw-r--r--.travis.yml3
-rw-r--r--build/ci.go3
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 556397b0a..b3b5edb27 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,9 +5,6 @@ matrix:
include:
- os: linux
dist: trusty
- go: 1.4.2
- - os: linux
- dist: trusty
go: 1.5.4
- os: linux
dist: trusty
diff --git a/build/ci.go b/build/ci.go
index 3011a6976..87e8b6275 100644
--- a/build/ci.go
+++ b/build/ci.go
@@ -227,6 +227,9 @@ func doTest(cmdline []string) {
// Run the actual tests.
gotest := goTool("test")
+ // Test a single package at a time. CI builders are slow
+ // and some tests run into timeouts under load.
+ gotest.Args = append(gotest.Args, "-p", "1")
if *coverage {
gotest.Args = append(gotest.Args, "-covermode=atomic", "-cover")
}