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. 

https://travis-ci.org/QuantEcon/lecture-source-py/builds/568157135?utm_source=github_status&utm_medium=notification

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

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/a0eef8f1-14b1-4019-8d1c-b6abd766e897%40googlegroups.com.

Reply via email to