Merge pull request #135 from mapbox/travis-publish

fix clang CXX matching
This commit is contained in:
Mike Morris
2015-06-16 13:35:57 -04:00
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