diff options
author | Chun Kuan Lee <ken2812221@gmail.com> | 2018-12-13 21:18:14 +0800 |
---|---|---|
committer | Chun Kuan Lee <ken2812221@gmail.com> | 2018-12-13 21:18:14 +0800 |
commit | fc91c1f28eecc7fe6bcca9beb067a91cfcb13a7e (patch) | |
tree | 64e7ef8d5c9ddb7e8d81c1fece559883e65a3c67 /.travis.yml | |
parent | 84dc252a02c322b9f74aba094457f7588c592fe7 (diff) |
Revert "travis: Save cache on build error"
This reverts commit d3ecc3d695f33d90d6c4e61f3d7ceb57f44eb200.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 4f57c6f6ec..d051f37d98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 |