From b0a6b979a3f12e91cfbc89850bfaa00c46653e85 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 26 Sep 2016 13:41:18 +0200 Subject: [PATCH 1/2] build: limit test concurrency TravisCI and AppVeyor run the tests in very slow VMs. Some of our tests can't cope with that. Running less tests in parallel should make them somewhat less flakey. --- build/ci.go | 3 +++ 1 file changed, 3 insertions(+) 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") } From 0951524ca23b3d7a75cce79b95551e378918c0e8 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 26 Sep 2016 13:48:15 +0200 Subject: [PATCH 2/2] travis.yml: remove go 1.4 builder --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 556397b0a..b3b5edb27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,6 @@ go_import_path: github.com/ethereum/go-ethereum sudo: false matrix: include: - - os: linux - dist: trusty - go: 1.4.2 - os: linux dist: trusty go: 1.5.4