FYI. travis-ci does support caching of files between builds which can
help with building dependencies from source. Takes a bit of time to get
right, but speeds up builds a lot. For example, building a custom QEMU.
This gets source from github and checks revision hashes to see if a
rebuild is needed.
https://github.com/mdavidsaver/epics-base/blob/integration/ci/travis-prepare.sh#L24
A sell sophisticated, but more relevant example of building Base and a
support module.
https://github.com/mdavidsaver/mrfioc2/blob/master/build-deps.sh
The necessary lines in .travis.yml
> cache:
> directories:
> - $HOME/.cache
We should cache EPICS base and ADSupport, checking against the current version to see if they should be rebuilt.
Michael Davidsaver wrote:
We should cache EPICS base and ADSupport, checking against the current version to see if they should be rebuilt.