git/ci
SZEDER Gábor b4a2fdc9bd travis-ci: create the cache directory early in the build process
It seems that Travis CI creates the cache directory for us anyway,
even when a previous cache doesn't exist for the current build job.
Alas, this behavior is not explicitly documented, therefore we don't
rely on it and create the cache directory ourselves in those build
jobs that read/write cached data (currently only the prove state).

In the following commit we'll start to cache additional data in every
build job, and will access the cache much earlier in the build
process.

Therefore move creating the cache directory to 'ci/lib-travisci.sh' to
make sure that it exists at the very beginning of every build job.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Reviewed-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-01-02 11:25:57 -08:00
..
install-dependencies.sh travis-ci: set GIT_TEST_HTTPD in 'ci/lib-travisci.sh' 2017-12-12 12:58:28 -08:00
lib-travisci.sh travis-ci: create the cache directory early in the build process 2018-01-02 11:25:57 -08:00
print-test-failures.sh travis-ci: only print test failures if there are test results available 2017-12-27 12:15:22 -08:00
run-build.sh travis-ci: move Travis CI code into dedicated scripts 2017-09-11 09:54:08 +09:00
run-linux32-build.sh travis-ci: save prove state for the 32 bit Linux build 2017-12-27 12:15:05 -08:00
run-linux32-docker.sh travis-ci: save prove state for the 32 bit Linux build 2017-12-27 12:15:05 -08:00
run-static-analysis.sh travis-ci: move Travis CI code into dedicated scripts 2017-09-11 09:54:08 +09:00
run-tests.sh travis-ci: create the cache directory early in the build process 2018-01-02 11:25:57 -08:00
run-windows-build.sh travis-ci: fine tune the use of 'set -x' in 'ci/*' scripts 2017-12-27 12:13:46 -08:00
test-documentation.sh travis-ci: move Travis CI code into dedicated scripts 2017-09-11 09:54:08 +09:00