diff options
author | Elad_ <theman@elad.im> | 2018-04-10 22:35:26 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-04-10 22:35:26 +0800 |
commit | 2e247705cd27e919e806f29ff2adcd57c163b1ac (patch) | |
tree | 60c5fe1ead859134d19e69f350c1f56b07aa5620 /.travis.yml | |
parent | 3caf16b15f0b6a30717acb245fa8d347b2f06c3f (diff) | |
download | dexon-2e247705cd27e919e806f29ff2adcd57c163b1ac.tar dexon-2e247705cd27e919e806f29ff2adcd57c163b1ac.tar.gz dexon-2e247705cd27e919e806f29ff2adcd57c163b1ac.tar.bz2 dexon-2e247705cd27e919e806f29ff2adcd57c163b1ac.tar.lz dexon-2e247705cd27e919e806f29ff2adcd57c163b1ac.tar.xz dexon-2e247705cd27e919e806f29ff2adcd57c163b1ac.tar.zst dexon-2e247705cd27e919e806f29ff2adcd57c163b1ac.zip |
travis.yml: add TEST_PACKAGES to speed up swarm testing (#16456)
This commit is meant to allow ecosystem projects such as ethersphere
to minimize CI build times by specifying an environment variable with
the packages to run tests on.
If the environment variable isn't defined the build script will test
all packages so this shouldn't affect the main go-ethereum repository.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 40d940de0..1874d6cb9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ matrix: - sudo chmod 666 /dev/fuse - sudo chown root:$USER /etc/fuse.conf - go run build/ci.go install - - go run build/ci.go test -coverage + - go run build/ci.go test -coverage $TEST_PACKAGES # These are the latest Go versions. - os: linux @@ -24,7 +24,7 @@ matrix: - sudo chmod 666 /dev/fuse - sudo chown root:$USER /etc/fuse.conf - go run build/ci.go install - - go run build/ci.go test -coverage + - go run build/ci.go test -coverage $TEST_PACKAGES - os: osx go: "1.10" @@ -34,7 +34,7 @@ matrix: - brew install caskroom/cask/brew-cask - brew cask install osxfuse - go run build/ci.go install - - go run build/ci.go test -coverage + - go run build/ci.go test -coverage $TEST_PACKAGES # This builder only tests code linters on latest version of Go - os: linux |