Commit 3a75208b authored by Kevin Modzelewski's avatar Kevin Modzelewski

Try caching both the debug and release ccache dirs

My theory is that specifying the separate cache directories
interacts badly with travis-ci.  I think it will either delete
any cache directories that look like they are no longer cached
(ie when it finishes the debug build it will delete the release
ccache dir since it looks unused), or maybe it keeps them around
but only checks the most recent build for a cache hit (ie the
debug build might check and only find ccache_release).

So anyway, try always specifying both directories.  Another
option is to do the simpler thing and use a single directory for
both caches, but I want to only change one thing at a time.
parent 07f0a1aa
......@@ -21,7 +21,8 @@ sudo: false
cache:
directories:
- ${CCACHE_DIR}
- $HOME/.ccache_debug
- $HOME/.ccache_release
addons:
apt:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment