mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 11:13:23 -03:00
travis: Save cache on build error
This commit is contained in:
parent
c70f9c0cfc
commit
d3ecc3d695
1 changed files with 4 additions and 4 deletions
|
@ -28,13 +28,13 @@ env:
|
||||||
- WINEDEBUG=fixme-all
|
- WINEDEBUG=fixme-all
|
||||||
- DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache"
|
- DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache"
|
||||||
before_install:
|
before_install:
|
||||||
- set -o errexit; source .travis/test_03_before_install.sh
|
- set -o errexit; if ! source .travis/test_03_before_install.sh; then set +o errexit; false; fi
|
||||||
install:
|
install:
|
||||||
- set -o errexit; source .travis/test_04_install.sh
|
- set -o errexit; if ! source .travis/test_04_install.sh; then set +o errexit; false; fi
|
||||||
before_script:
|
before_script:
|
||||||
- set -o errexit; source .travis/test_05_before_script.sh
|
- set -o errexit; if ! source .travis/test_05_before_script.sh; then set +o errexit; false; fi
|
||||||
script:
|
script:
|
||||||
- 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
|
- 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
|
||||||
after_script:
|
after_script:
|
||||||
- echo $TRAVIS_COMMIT_RANGE
|
- echo $TRAVIS_COMMIT_RANGE
|
||||||
- echo $TRAVIS_COMMIT_LOG
|
- echo $TRAVIS_COMMIT_LOG
|
||||||
|
|
Loading…
Add table
Reference in a new issue