Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 3353afb

Browse files
committed
chore(travis): split out the docs e2e tests into their own travis job
Previously, they were in the 'unit' job to save travis VMs, but this was confusing and made it more difficult to track down errors easily.
1 parent 40cb57c commit 3353afb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ branches:
99
env:
1010
matrix:
1111
- JOB=unit BROWSER_PROVIDER=saucelabs
12+
- JOB=docs-e2e BROWSER_PROVIDER=saucelabs
1213
- JOB=e2e TEST_TARGET=jqlite BROWSER_PROVIDER=saucelabs
1314
- JOB=e2e TEST_TARGET=jquery BROWSER_PROVIDER=saucelabs
1415
- JOB=unit BROWSER_PROVIDER=browserstack
16+
- JOB=docs-e2e BROWSER_PROVIDER=browserstack
1517
- JOB=e2e TEST_TARGET=jqlite BROWSER_PROVIDER=browserstack
1618
- JOB=e2e TEST_TARGET=jquery BROWSER_PROVIDER=browserstack
1719
global:

scripts/travis/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ if [ $JOB = "unit" ]; then
1616
grunt test:unit --browsers $BROWSERS --reporters dots
1717
grunt ci-checks
1818
grunt tests:docs --browsers $BROWSERS --reporters dots
19+
elif [ $JOB = "docs-e2e" ]; then
1920
grunt test:travis-protractor --specs "docs/app/e2e/**/*.scenario.js"
2021
elif [ $JOB = "e2e" ]; then
2122
if [ $TEST_TARGET = "jquery" ]; then

0 commit comments

Comments
 (0)