Kaynağa Gözat

ci: tweak job run order (#1740)

Renée Kooi 5 yıl önce
ebeveyn
işleme
a2b04f0ee1
1 değiştirilmiş dosya ile 10 ekleme ve 8 silme
  1. 10 8
      .travis.yml

+ 10 - 8
.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: