Workaround all Travis OSX builds reporting a failure
Use 'set -e' just for catching errors in the travis install scripts and not after the scripts which use 'source' in .travis.yml. This is needed since Travis upgraded Xcode to 7.3 which has some errors due to bad exit code in Travis scripts using rvm, see: https://github.com/travis-ci/travis-ci/issues/6307 https://github.com/travis-ci/travis-ci/issues/6522
This commit is contained in:
parent
d8434e47ac
commit
a4e63a2cfc
2 changed files with 7 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e # exit on failure
|
||||
set -e # exit on failure (same as -o errexit)
|
||||
|
||||
lsb_release -a
|
||||
sudo apt-get -qq update
|
||||
|
|
@ -108,3 +108,5 @@ case "$SWIGLANG" in
|
|||
sudo apt-get -qq install tcl8.4-dev
|
||||
;;
|
||||
esac
|
||||
|
||||
set +e # turn off exit on failure (same as +o errexit)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e # exit on failure
|
||||
set -e # exit on failure (same as -o errexit)
|
||||
|
||||
sw_vers
|
||||
brew update
|
||||
|
|
@ -28,3 +28,6 @@ case "$SWIGLANG" in
|
|||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Workaround for https://github.com/travis-ci/travis-ci/issues/6522
|
||||
set +e # turn off exit on failure (same as +o errexit)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue