summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-08-08 09:38:24 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-08-08 09:38:25 -0400
commit1edf1295e8326ad315d24decea297d9f8ce22419 (patch)
tree61d44c2f737772d0aad66c11e6168d5d67f0bd57 /.travis.yml
parente382bac1a01a152d32a0f95df7a2ad6b84ae80d4 (diff)
ci: automatically clear config.cache if it cannot be used
Summary: if env vars change between runs then the cache is invalidated, causing configure to print a very specific error by running a separate script to catch this error, the build can detect and clear the cache when necessary to avoid having to manually disable the cache when changing build settings Depends on D6697 Reviewers: stefan_schmidt, bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6732
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 4594f39011..1990eb7c2a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -84,6 +84,11 @@ before_script:
84 fi 84 fi
85 85
86 - .ci/ci-ccache-stats.sh 86 - .ci/ci-ccache-stats.sh
87 - |
88 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
89 cp $HOME/cachedir/config.cache . || true
90 fi
91
87 92
88script: 93script:
89 - .ci/ci-configure.sh "$CI_BUILD_TYPE" 94 - .ci/ci-configure.sh "$CI_BUILD_TYPE"