match all clang++ versions [publish binary]

This commit is contained in:
Mike Morris
2015-06-15 17:56:22 -04:00
parent 6f4e727654
commit b8c45b6273

View File

@@ -11,7 +11,7 @@ fi
COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE" && [[ $CXX == "clang++" ]]; then
if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE" && [[ $CXX == ^"clang++"* ]]; then
npm install aws-sdk
./node_modules/.bin/node-pre-gyp package