diff --git a/.travis.yml b/.travis.yml index bf68021..54d3b96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,9 @@ 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/") +# 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: # ensure source install works