Skip to content

Commit 037f676

Browse files
Robert Messerlejelbourn
authored andcommitted
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
1 parent 115939c commit 037f676

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ env:
2424
- ARCH=linux-x64
2525
- DART_DEV_VERSION=latest
2626
- DART_STABLE_VERSION=latest
27+
- BROWSER_PROVIDER_READY_FILE=/tmp/angular-material2-build/readyfile
2728
# Token for tsd to increase github rate limit
2829
# See https://github.com/DefinitelyTyped/tsd#tsdrc
2930
# This does not use http://docs.travis-ci.com/user/environment-variables/#Secure-Variables
@@ -35,12 +36,12 @@ env:
3536
- secure: "fq/U7VDMWO8O8SnAQkdbkoSe2X92PVqg4d044HmRYVmcf6YbO48+xeGJ8yOk0pCBwl3ISO4Q2ot0x546kxfiYBuHkZetlngZxZCtQiFT9kyId8ZKcYdXaIW9OVdw3Gh3tQyUwDucfkVhqcs52D6NZjyE2aWZ4/d1V4kWRO/LMgo="
3637
matrix:
3738
# Order: a slower build first, so that we don't occupy an idle travis worker waiting for others to complete.
39+
- MODE=e2e
3840
- MODE=saucelabs_required
3941
- MODE=browserstack_required
4042
- MODE=dart_required DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
4143
- MODE=saucelabs_optional
4244
- MODE=browserstack_optional
43-
- MODE=e2e
4445

4546
matrix:
4647
allow_failures:

scripts/e2e.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
export MODE=e2e
44
export LOGS_DIR=/tmp/angular-material2-build/logs
5-
export BROWSER_PROVIDER_READY_FILE=$LOGS_DIR/sauce-connect-readyfile
65
export SAUCE_USERNAME=angular-ci
76
export SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
87
export TRAVIS_JOB_NUMBER=12345

0 commit comments

Comments
 (0)