I have NFC why osx fails when "set -e" is in effect, but leave it off and clean up the rest of the debuging code in the travis config.

This commit is contained in:
Eric Haszlakiewicz
2020-04-08 02:54:10 +00:00
parent f357081b57
commit 96bb334650

View File

@@ -124,17 +124,11 @@ before_install:
fi
before_script:
# Wait a while for output to flush :(
- set +e
- onexit() { sleep 20; }; trap onexit 0
- pwd
# XXX osx on travis doesn't work w/ set -e, so turn it off :(
- set +e
- mkdir -p build || echo "Failed to mkdir build"
- ls
- cd build || echo "Failed to cd build"
- pwd
- cmake .. || echo "Failed to run cmake"
- echo "After cmake"
- pwd
script:
- make