Make travis count builds as failed when if statements are used.

This commit is contained in:
Joseph Lenox 2018-11-27 22:25:56 -06:00
parent 33b3faacfd
commit 5e854742c6

View File

@ -59,7 +59,7 @@ matrix:
- $HOME/wx302 - $HOME/wx302
- local-lib - local-lib
after_success: after_success:
- if [[ "${TRAVIS_BRANCH}" != "cppgui" ]]; then ./package/linux/travis-deploy-main.sh; fi - if [[ "${TRAVIS_BRANCH}" != "cppgui" ]]; then ./package/linux/travis-deploy-main.sh || travis_terminate 1; fi
- os: linux - os: linux
env: env:
@ -95,7 +95,7 @@ matrix:
- $HOME/Library/Caches/Homebrew - $HOME/Library/Caches/Homebrew
- local-lib - local-lib
after_success: after_success:
- if [[ "${TRAVIS_BRANCH}" != "cppgui" ]]; then ./package/osx/travis-deploy-main.sh; fi - if [[ "${TRAVIS_BRANCH}" != "cppgui" ]]; then ./package/osx/travis-deploy-main.sh || travis_terminate 1; fi
- os: osx - os: osx
osx_image: xcode9.4 osx_image: xcode9.4