ci: tweak job run order (#1740)

This commit is contained in:
Renée Kooi 2019-07-19 12:16:56 +02:00 committed by GitHub
parent 10bc79574e
commit a2b04f0ee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: