From a2b04f0ee167f5df2d4e98d3005faf2544389985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Fri, 19 Jul 2019 12:16:56 +0200 Subject: [PATCH] ci: tweak job run order (#1740) --- .travis.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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: