mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
test(e2e): adds readyfile to travis config
Currently, tests relying on `sauce-connect` are flaky, and it seems to be caused by the script continuing before SauceLabs is ready. Closes #160
This commit is contained in:
committed by
Jeremy Elbourn
parent
115939c833
commit
037f676f81
+2
-1
@@ -24,6 +24,7 @@ env:
|
||||
- ARCH=linux-x64
|
||||
- DART_DEV_VERSION=latest
|
||||
- DART_STABLE_VERSION=latest
|
||||
- BROWSER_PROVIDER_READY_FILE=/tmp/angular-material2-build/readyfile
|
||||
# Token for tsd to increase github rate limit
|
||||
# See https://github.com/DefinitelyTyped/tsd#tsdrc
|
||||
# This does not use http://docs.travis-ci.com/user/environment-variables/#Secure-Variables
|
||||
@@ -35,12 +36,12 @@ env:
|
||||
- secure: "fq/U7VDMWO8O8SnAQkdbkoSe2X92PVqg4d044HmRYVmcf6YbO48+xeGJ8yOk0pCBwl3ISO4Q2ot0x546kxfiYBuHkZetlngZxZCtQiFT9kyId8ZKcYdXaIW9OVdw3Gh3tQyUwDucfkVhqcs52D6NZjyE2aWZ4/d1V4kWRO/LMgo="
|
||||
matrix:
|
||||
# Order: a slower build first, so that we don't occupy an idle travis worker waiting for others to complete.
|
||||
- MODE=e2e
|
||||
- MODE=saucelabs_required
|
||||
- MODE=browserstack_required
|
||||
- MODE=dart_required DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
|
||||
- MODE=saucelabs_optional
|
||||
- MODE=browserstack_optional
|
||||
- MODE=e2e
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
export MODE=e2e
|
||||
export LOGS_DIR=/tmp/angular-material2-build/logs
|
||||
export BROWSER_PROVIDER_READY_FILE=$LOGS_DIR/sauce-connect-readyfile
|
||||
export SAUCE_USERNAME=angular-ci
|
||||
export SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
|
||||
export TRAVIS_JOB_NUMBER=12345
|
||||
|
||||
Reference in New Issue
Block a user