Skip to content

Commit

Permalink
Update travis.yml with set +e
Browse files Browse the repository at this point in the history
  • Loading branch information
tgsmith61591 committed Jan 24, 2018
1 parent 239551d commit d95509f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Expand Up @@ -11,12 +11,7 @@ cache:
- $HOME/.cache/pip
- $HOME/.ccache

# we set +e to re-instate the error-tolerant state. The problem is Travis is broken on Mac OS
# builds right now due to Issue 6307 (https://github.com/travis-ci/travis-ci/issues/6307)
# and fails at the end of a successful build. This will allow the build to recover even if
# a non-zero status code is encountered.
before_install:
- set +e
- source build_tools/travis/before_install.sh
env:
global:
Expand Down Expand Up @@ -90,8 +85,14 @@ matrix:
install: source build_tools/travis/install.sh
before_script: bash build_tools/travis/before_script.sh
script: bash build_tools/travis/test_script.sh

# we set +e to re-instate the error-tolerant state. The problem is Travis is broken on Mac OS
# builds right now due to Issue 6307 (https://github.com/travis-ci/travis-ci/issues/6307)
# and fails at the end of a successful build. This will allow the build to recover even if
# a non-zero status code is encountered.
after_success:
- source build_tools/travis/after_success.sh # || "shell_session_update failed"
- set +e
- source build_tools/travis/after_success.sh || echo "shell_session_update failed"
# Build the wheels every time so we can debug
- bash build_tools/travis/build_wheels.sh
- ls dist/
Expand Down

0 comments on commit d95509f

Please sign in to comment.