[Qgis-developer] CI testing: the straight truth

Matthias Kuhn matthias at opengis.ch
Wed Jan 4 23:42:17 PST 2017


Hi

On 03/01/17 22:59, Matthias Kuhn wrote:

> If the ccache gets lost, we will need some black
> magic to get the builds started again (it's possible to slowly get the
> cache warm but not straightforward).
For the time being, I introduced a workaround that helps if someone
modifies (a lot of) low level files.
If the build takes too long, it's possible to split it into two separate
builds, controlled by an environment variable `CACHE_WARMING`.
d
For pull requests:

 1. Add CACHE_WARMING=true to the `env:` Key in travis.yml
 2. Push
 3. Wait for the build to complete (and fail)
 4. Remove the CACHE_WARMING env variable
 5. Push again

For master:

 1. Add CACHE_WARMING=true to the Environment Variables in the travis
settings
      https://travis-ci.org/QGEP/QGEP/settings
 2. Trigger a rebuild of the current commit (travis web interface)
 3. Remove the environment variable
 4. Trigger a rebuild of the current commit

Regards
Matthias



More information about the Qgis-developer mailing list