ci: shard the aio example e2e tests

This commit is contained in:
Peter Bacon Darwin 2017-07-27 08:27:11 +01:00 committed by Alex Rickabaugh
parent a5e18c4cdf
commit 51f1da1b85
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,8 @@ env:
- CI_MODE=browserstack_optional - CI_MODE=browserstack_optional
- CI_MODE=docs_test - CI_MODE=docs_test
- CI_MODE=aio - CI_MODE=aio
- CI_MODE=aio_e2e - CI_MODE=aio_e2e AIO_SHARD=0
- CI_MODE=aio_e2e AIO_SHARD=1
- CI_MODE=bazel - CI_MODE=bazel
matrix: matrix:
@ -63,7 +64,6 @@ matrix:
allow_failures: allow_failures:
- env: "CI_MODE=saucelabs_optional" - env: "CI_MODE=saucelabs_optional"
- env: "CI_MODE=browserstack_optional" - env: "CI_MODE=browserstack_optional"
- env: "CI_MODE=aio_e2e"
before_install: before_install:
# source the env.sh script so that the exported variables are available to other scripts later on # source the env.sh script so that the exported variables are available to other scripts later on

View File

@ -13,6 +13,6 @@ source ${thisDir}/_travis-fold.sh
# Run example e2e tests # Run example e2e tests
travisFoldStart "test.aio.example-e2e" travisFoldStart "test.aio.example-e2e"
yarn example-e2e -- --setup yarn example-e2e -- --setup --shard=${AIO_SHARD}/2
travisFoldEnd "test.aio.example-e2e" travisFoldEnd "test.aio.example-e2e"
) )