Skip to content

Commit

Permalink
Blacklist node 0.9 from publishing binary, since it duplicates node.j…
Browse files Browse the repository at this point in the history
…s 0.10 binary and fails.
  • Loading branch information
edgarsilva committed Apr 8, 2014
1 parent 46a08fe commit 387eac0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -26,7 +26,8 @@ before_install:
# or if we put [publish binary] in the commit message
- if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE"; then PUBLISH_BINARY=true; fi;
- platform=$(uname -s | sed "y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/")
- echo "TRAVIS_NODE_VERSION -->" $TRAVIS_NODE_VERSION
# If version is 0.9 do not publish to avoid duplicated binary error, caused by 0.9 and 0.10
# returning same v number in node.js.
- if [[ "$TRAVIS_NODE_VERSION" == '0.9' ]]; then PUBLISH_BINARY=false; fi;

install:
Expand Down

0 comments on commit 387eac0

Please sign in to comment.