Skip to content

Commit

Permalink
Don't publish OSX & gcc
Browse files Browse the repository at this point in the history
[publish binary]
  • Loading branch information
ForbesLindesay committed Feb 5, 2015
1 parent c0356f8 commit 662c890
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,20 @@ before_script:
echo 'PUBLISH_BINARY=true'
PUBLISH_BINARY=true
fi
# if we are compiling with clang then don't publish
# if we are compiling with clang on linux then don't publish
- |
if [ "$TRAVIS_OS_NAME" = 'linux' ] && [ "$CXX" = 'clang++' ]
then
echo 'PUBLISH_BINARY='
PUBLISH_BINARY=
fi
# if we are compiling with gcc on mac then don't publish
-
if [ "$TRAVIS_OS_NAME" = 'osx' ] && [ "$CXX" = 'g++' ]
then
echo 'PUBLISH_BINARY='
PUBLISH_BINARY=
fi

script:
# ensure source install works
Expand Down

0 comments on commit 662c890

Please sign in to comment.