[Qgis-developer] CI testing for OSX

Nyall Dawson nyall.dawson at gmail.com
Wed Aug 19 03:33:41 PDT 2015


On 19 August 2015 at 08:43, Larry Shaffer <larrys at dakotacarto.com> wrote:

> Yeah, the postgres and postgis being preinstalled is a bit of a pain, since
> they do not seem to keep them updated.
>
> Looks like, since they *are* installed, you can try skipping them (and other
> non-essential recommended libs) as dependencies with:
>
> $ brew install qgis-28 --without-postgis --without-postgresql
> --without-grass --without-gpsbabel --only-dependencies

Thanks Larry - this has knocked about 10 minutes off the build time!
Much appreciated :)

Still no luck with getting the postgres test working yet though. I
suspect that Travis has issues with the default postgres installation
under their OSX containers.

Nyall


>
> That should be the minimum for a Travis CI setup (not tested). The only
> funky one is '--without-postgresql', which is a hard dependency, but the
> CMake variable POSTGRES_CONFIG:FILEPATH=/usr/local/bin/pg_config should be
> found by default. It was with my test on 10.9.5. Apple's system-provided
> postgresql client is woefully outdated.
>
> The GRASS provider is part of the unit test suite (for both 6 and 7 if
> found), but, if skipped, should greatly speed up the CI builds.
>
> I just updated the formula with 2.8.3. Let me know if you need me to add
> more options to it to facilitate the Travis setup.
>
> Regards,
>
> Larry Shaffer
> Dakota Cartography
> Black Hills, South Dakota
>
>> Nyall
>> >
>> > Regards,
>> >
>> > Larry Shaffer
>> > Dakota Cartography
>> > Black Hills, South Dakota
>> >
>> >
>> >>
>> >> Nyall
>> >> _______________________________________________
>> >> Qgis-developer mailing list
>> >> Qgis-developer at lists.osgeo.org
>> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> >
>> >
>
>


More information about the Qgis-developer mailing list