[postgis-devel] Travis

Daniel Kastl daniel at georepublic.de
Wed Aug 28 20:38:53 PDT 2013


On Thu, Aug 29, 2013 at 12:18 PM, Stephen Woodbridge <
woodbri at swoodbridge.com> wrote:

> On 8/28/2013 10:53 PM, Paul Ramsey wrote:
>
>> Thought this was interesting,
>>
>> http://petereisentraut.**blogspot.ca/2013/08/testing-**
>> postgresql-extensions-on-**travis.html<http://petereisentraut.blogspot.ca/2013/08/testing-postgresql-extensions-on-travis.html>
>>
>>  https://travis-ci.org/**pgRouting/pgrouting<https://travis-ci.org/pgRouting/pgrouting>
>
> You might need a login, but Daniel has pgrouting building on travis for
> the following versions:
>
>  206.1  4 min 1 sec     6 days ago      gcc     POSTGRESQL_VERSION=9.0
> POSTGIS_VERSION=1.5
> 206.2   2 min 56 sec    6 days ago      gcc     POSTGRESQL_VERSION=9.1
> POSTGIS_VERSION=1.5
> 206.3   3 min 3 sec     6 days ago      gcc     POSTGRESQL_VERSION=9.1
> POSTGIS_VERSION=2.0
> 206.4   4 min 35 sec    6 days ago      gcc     POSTGRESQL_VERSION=9.2
> POSTGIS_VERSION=2.0
> 206.5   3 min 18 sec    6 days ago      gcc     POSTGRESQL_VERSION=9.1
> POSTGIS_VERSION=2.1
> 206.6   4 min 17 sec    6 days ago      gcc     POSTGRESQL_VERSION=9.2
> POSTGIS_VERSION=2.1
>

>
You don't need an account, but you need to have the repository on Github
and need some certain permissions level in this repository, I guess.
In my case I can enable Travis for all Github "Teams" I'm a member of (and
of course for my own ones).

Maybe there is a more smart way to do this, but you can do all with Travis,
what you can do with a shell script.
The only issue I had in the beginning is, that the default image that
Travis provides has PostgreSQL installed already and it was not so easy to
get it completely uninstalled and installed in the version I like with
permissions that don't require to type a password:
https://github.com/pgRouting/pgrouting/blob/develop/.travis.yml
https://github.com/pgRouting/pgrouting/tree/develop/tools/travis

The scripts for pgRouting actually compile PostGIS from source files, so
you could just delete the pgRouting part and replace the stable PostGIS
source downloads with the repository URL's.

Daniel


-- 
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20130829/edb80354/attachment.html>


More information about the postgis-devel mailing list