Revert "travis: Save cache on build error"

This reverts commit d3ecc3d695.
This commit is contained in:
Chun Kuan Lee 2018-12-13 21:18:14 +08:00
parent 84dc252a02
commit fc91c1f28e

View file

@ -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