ci: automatically clear config.cache if it cannot be used
authorMike Blumenkrantz <zmike@samsung.com>
Wed, 8 Aug 2018 13:38:24 +0000 (09:38 -0400)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 17 Aug 2018 04:14:35 +0000 (13:14 +0900)
commit94580fe89302d484a50f49aff074b650dba28bf5
tree0cea55f5a3dfb5d3ecc301c76e162991a7278ca0
parent4e3491626c1a4651711ea3f4a4b9de130771b70f
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
.ci/ci-configure.sh
.ci/configure.sh [new file with mode: 0755]
.travis.yml