Revert "travis: Save cache on build error"

This reverts commit d3ecc3d695.
pull/14937/head
Chun Kuan Lee 6 years ago
parent 84dc252a02
commit fc91c1f28e

@ -26,13 +26,13 @@ env:
- WINEDEBUG=fixme-all
- DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache"
before_install:
- set -o errexit; if ! source .travis/test_03_before_install.sh; then set +o errexit; false; fi
- set -o errexit; source .travis/test_03_before_install.sh
install:
- set -o errexit; if ! source .travis/test_04_install.sh; then set +o errexit; false; fi
- set -o errexit; source .travis/test_04_install.sh
before_script:
- set -o errexit; if ! source .travis/test_05_before_script.sh; then set +o errexit; false; fi
- set -o errexit; source .travis/test_05_before_script.sh
script:
- if [ $SECONDS -gt 1200 ]; then set +o errexit; echo "Travis early exit to cache current state"; false; else set -o errexit; if ! source .travis/test_06_script.sh; then set +o errexit; false; fi; fi
- if [ $SECONDS -gt 1200 ]; then set +o errexit; echo "Travis early exit to cache current state"; false; else set -o errexit; source .travis/test_06_script.sh; fi
after_script:
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG

Loading…
Cancel
Save