Skip to content

Commit

Permalink
debug [publish binary]
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jan 21, 2016
1 parent 635c2ae commit 1515ff7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -73,6 +73,7 @@ before_install:

install:
- COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
- echo ${COMMIT_MESSAGE}
- if [[ ${COVERAGE} == true ]]; then
if [[ $(uname -s) == 'Linux' ]]; then
PYTHONUSERBASE=$(pwd)/mason_packages/.link pip install --user cpp-coveralls;
Expand All @@ -87,10 +88,13 @@ install:
- npm test

before_script:
- if [[ ${CXX} =~ "clang" ]] && [[ ${COVERAGE} == false ]]; then
- if [[ ${COVERAGE} == false ]]; then
echo "publishing";
if [[ ${COMMIT_MESSAGE} =~ "[publish binary]" ]]; then
echo "publishing for the first time";
node-pre-gyp publish;
elif [[ ${COMMIT_MESSAGE} =~ "[republish binary]" ]]; then
echo "republishing";
node-pre-gyp unpublish publish;
fi
fi
Expand Down

0 comments on commit 1515ff7

Please sign in to comment.