I am trying to setup `travis` to compile our sphinx project. The issue I am having is that our sphinx execution is a long running process and I would like to use the travis cache to restore the `_build` folder between runs. There is a mechanism to do this in travis.
cache:
directories:
- $HOME/build/mmcky/<repo>/_build/
It appears to be working. At the end of an initial clean run of sphinx-build it saves the directory as a `tar.gz` archive. Next time `travis` is run it restores the directory.
The issue is `sphinx` keeps thinking the targets are out of date and can't figure out what is causing it to register as out-of-date as the contents of the rst files is constant. I have tried replicating this on a local machine -- copying the `_build` directory to another location and the cache seems to be preserved when moving it back into the repo.
Any ideas/advice would be greatly appreciated.
Thanks!
Matt
QuantEcon Project