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