summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-12-15 17:53:51 +0100
committerGitHub <noreply@github.com>2018-12-15 17:53:51 +0100
commit61239257f974e34966c721875c1125a9f14323d0 (patch)
tree4149e32d01183ddd27590cac9a7aa01e55218da6 /.travis.yml
parentc973d761e9b9c5f16890e7cb5da88b17de9f3652 (diff)
downloadspack-61239257f974e34966c721875c1125a9f14323d0.tar.gz
spack-61239257f974e34966c721875c1125a9f14323d0.tar.bz2
spack-61239257f974e34966c721875c1125a9f14323d0.tar.xz
spack-61239257f974e34966c721875c1125a9f14323d0.zip
Store ccache directory explicitly in Travis. (#10119)
* Store ccache directory explicitly in Travis. Despite we started using ccache on `develop`, it seems the cache itself is not stored from one CI build to the next. This might be du to the fact that our language on Travis is Python and not C nor C++. Hence here we store the ccache directory explicitly.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index a1368837a2..4ba20a9788 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -143,11 +143,14 @@ addons:
- perl
- perl-base
+# ~/.ccache needs to be cached directly as Travis is not taking care of it
+# (possibly because we use 'language: python' and not 'language: c')
cache:
pip: true
ccache: true
directories:
- ~/.mirror
+ - ~/.ccache
# Work around Travis's lack of support for Python on OSX
before_install: