summaryrefslogtreecommitdiffstats
path: root/test/travis_before_linux.sh
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2019-12-30 12:26:21 +0100
committerJoe Orton <jorton@apache.org>2019-12-30 12:26:21 +0100
commita604fac5d90421857e5b013f76444377392b412d (patch)
tree2cfd6ac85e32a425ab9f0c4406ef5d0f5f67ff78 /test/travis_before_linux.sh
parentconfigure: Add manualdir and proxycachedir to the APR_ENABLE_LAYOUT macro call (diff)
downloadapache2-a604fac5d90421857e5b013f76444377392b412d.tar.xz
apache2-a604fac5d90421857e5b013f76444377392b412d.zip
Work around a build failure when a cached APR branch install
is used but APR-util needs to be rebuilt; currently this fails because the APR build directory is not available. e.g. https://travis-ci.org/apache/httpd/jobs/630885203 Disable caching for this combination for now. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872106 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/travis_before_linux.sh')
-rwxr-xr-xtest/travis_before_linux.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/travis_before_linux.sh b/test/travis_before_linux.sh
index f653bcc91c..8e41ee38bf 100755
--- a/test/travis_before_linux.sh
+++ b/test/travis_before_linux.sh
@@ -1,5 +1,9 @@
#!/bin/bash -xe
+if test -v CLEAR_CACHE; then
+ rm -rf $HOME/root
+fi
+
# Use a rudimental retry workflow as workaround to svn export hanging for minutes.
# Travis automatically kills a build if one step takes more than 10 minutes without
# reporting any progress.