diff --git a/.travis.yml b/.travis.yml index 2969d2898..37bb61268 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,16 @@ language: node_js matrix: include: + # Run e2e tests on branch builds, not PRs + # Start this first because it takes a while, so it doesn't only start running after + # other jobs have run + - node_js: 10 + env: ENDTOEND=true + if: type = push + addons: + apt: *APT + hosts: *HOSTS + sauce_connect: *SAUCE - node_js: 'stable' env: UNIT=true addons: @@ -44,14 +54,6 @@ matrix: if: branch = master AND type = push addons: apt: *APT - # Run e2e tests on branch builds, not PRs - - node_js: 10 - env: ENDTOEND=true - if: type = push - addons: - apt: *APT - hosts: *HOSTS - sauce_connect: *SAUCE before_install: - nvm install-latest-npm install: