Skip to content
Snippets Groups Projects
Commit e111c100 authored by Ray Schamp's avatar Ray Schamp
Browse files

Temporarily only release on the node 4 environment

With only one concurrent build, we can't wait for all the jobs to finish first
parent 5251b07e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment