From e111c1001aaecd44faba21ef266445bd80777a8f Mon Sep 17 00:00:00 2001
From: Ray Schamp <ray@scratch.mit.edu>
Date: Wed, 28 Sep 2016 10:18:37 -0400
Subject: [PATCH] Temporarily only release on the node 4 environment

With only one concurrent build, we can't wait for all the jobs to finish first
---
 .travis.yml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 772e63a4b..73c568461 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,13 +10,9 @@ before_install:
 after_script:
 - |
   # RELEASE_BRANCHES and NPM_TOKEN defined in Travis settings panel
-  declare exitCode
-  # To retrieve your access token, use travis token --pro if it's for a private repo
-  node -e "require('travis-after-all')(null, {API_HOST: '${TRAVIS_API_HOST}', ACCESS_TOKEN: '${TRAVIS_ACCESS_TOKEN}'})"
-  exitCode=$?
   if [[
-    # Execute after all jobs finish successfully
-    $exitCode = 0 &&
+    # For now only release on the Node 4 environment
+    $TRAVIS_NODE_VERSION = "4.2" &&
     # Only release on release branches
     $RELEASE_BRANCHES =~ $TRAVIS_BRANCH &&
     # Don't release on PR builds
-- 
GitLab