From 51f1da1b85742585a9d4610891e8abd2575ad0fd Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Thu, 27 Jul 2017 08:27:11 +0100 Subject: [PATCH] ci: shard the aio example e2e tests --- .travis.yml | 4 ++-- scripts/ci/test-aio-e2e.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c115374c54..d574adc770 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,7 +55,8 @@ env: - CI_MODE=browserstack_optional - CI_MODE=docs_test - CI_MODE=aio - - CI_MODE=aio_e2e + - CI_MODE=aio_e2e AIO_SHARD=0 + - CI_MODE=aio_e2e AIO_SHARD=1 - CI_MODE=bazel matrix: @@ -63,7 +64,6 @@ matrix: allow_failures: - env: "CI_MODE=saucelabs_optional" - env: "CI_MODE=browserstack_optional" - - env: "CI_MODE=aio_e2e" before_install: # source the env.sh script so that the exported variables are available to other scripts later on diff --git a/scripts/ci/test-aio-e2e.sh b/scripts/ci/test-aio-e2e.sh index 4772afc2b4..41b7b78799 100755 --- a/scripts/ci/test-aio-e2e.sh +++ b/scripts/ci/test-aio-e2e.sh @@ -13,6 +13,6 @@ source ${thisDir}/_travis-fold.sh # Run example e2e tests travisFoldStart "test.aio.example-e2e" - yarn example-e2e -- --setup + yarn example-e2e -- --setup --shard=${AIO_SHARD}/2 travisFoldEnd "test.aio.example-e2e" )