build: do not e2e tests on saucelabs (#12700)

* No longer runs e2e tests inside of Saucelabs because Chrome is also installed on Travis CI and we should keep Saucelabs available for other browsers that don't run inside of Dockers or Travis.
This commit is contained in:
Paul Gschwendtner
2018-08-16 22:54:59 +02:00
committed by mmalerba
parent ac8339cc10
commit 9d882a0119
4 changed files with 21 additions and 31 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ WAIT_RETRIES=2
start_tunnel() {
case "$MODE" in
e2e*|saucelabs*)
saucelabs*)
./scripts/saucelabs/start-tunnel.sh
;;
browserstack*)
@@ -21,7 +21,7 @@ start_tunnel() {
wait_for_tunnel() {
case "$MODE" in
e2e*|saucelabs*)
saucelabs*)
retryCall ${WAIT_RETRIES} ./scripts/saucelabs/wait-tunnel.sh
;;
browserstack*)
@@ -34,7 +34,7 @@ wait_for_tunnel() {
teardown_tunnel() {
case "$MODE" in
e2e*|saucelabs*)
saucelabs*)
./scripts/saucelabs/stop-tunnel.sh
;;
browserstack*)
+3 -1
View File
@@ -34,7 +34,9 @@ wait_for_tunnel
if is_lint; then
$(npm bin)/gulp ci:lint
elif is_e2e; then
$(npm bin)/gulp ci:e2e
# Run e2e tests inside of Xvfb because we need to test the HTML Fullscreen API's that cannot
# be tested within Chrome headless.
xvfb-run -a --server-args='-screen 0, 1024x768x16' $(npm bin)/gulp ci:e2e
elif is_aot; then
$(npm bin)/gulp ci:aot
elif is_payload; then