[Qgis-developer] Add some postgresql PKI authentication tests to Travis
Matthias Kuhn
matthias at opengis.ch
Thu Oct 20 03:34:08 PDT 2016
On 10/20/2016 12:23 PM, Sandro Santilli wrote:
> On Thu, Oct 20, 2016 at 12:05:02PM +0200, Matthias Kuhn wrote:
>> On 10/20/2016 11:53 AM, Sandro Santilli wrote:
>>> Start using docker containers for build ?
>>> https://docs.travis-ci.com/user/docker/
>>>
>>> With docker based builds you could make the test-oriented system as you need
>>> it (all deps in, multiple postgresql versions, other services, multiple
>>> configs) and run the build and the tests in such custom system.
>>
>> I think the main challenge for this is a persistent ccache strategy or
>> build times will be up to an hour again.
>
> This seems to have made caching available (untested):
> https://github.com/docker/docker/issues/26065
I'm afraid I'm not Docker-expert enough to quickly tell if this is what
it requires.
Some background that might help to tell:
* Every travis job is started on a pristine vm/container.
* Only ccache (and possibly apt) should be cached, nothing (or not
much) else.
* Some clever strategy for caching is required (take cache from target
branch, if not existent, create a new one).
* Currently we get all that for free. Zero cost, almost zero admin.
* Travis currently uploads persistent caches to S3.
Matthias
More information about the Qgis-developer
mailing list