fix clang CXX matching [publish binary]

explicitly set CXX on OS X
This commit is contained in:
Mike Morris
2015-06-15 18:19:44 -04:00
parent b8c45b6273
commit 7be5f15e50
2 changed files with 4 additions and 1 deletions

View File

@@ -68,16 +68,19 @@ matrix:
- os: osx
compiler: clang
env:
- CXX: clang++
- NODE_EXE: "iojs"
- NODE_VERSION: 2.0.1
- os: osx
compiler: clang
env:
- CXX: clang++
- NODE_EXE: "node"
- NODE_VERSION: 0.12.0
- os: osx
compiler: clang
env:
- CXX: clang++
- NODE_EXE: "node"
- NODE_VERSION: 0.10.36

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