Skip to content

Commit 61734cc

Browse files
authored
Merge pull request ethereum#3041 from fjl/build-less-parallel
build: limit test concurrency
2 parents 7f2b077 + 0951524 commit 61734cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ go_import_path: github.com/ethereum/go-ethereum
33
sudo: false
44
matrix:
55
include:
6-
- os: linux
7-
dist: trusty
8-
go: 1.4.2
96
- os: linux
107
dist: trusty
118
go: 1.5.4

build/ci.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ func doTest(cmdline []string) {
227227

228228
// Run the actual tests.
229229
gotest := goTool("test")
230+
// Test a single package at a time. CI builders are slow
231+
// and some tests run into timeouts under load.
232+
gotest.Args = append(gotest.Args, "-p", "1")
230233
if *coverage {
231234
gotest.Args = append(gotest.Args, "-covermode=atomic", "-cover")
232235
}

0 commit comments

Comments
 (0)