<div dir="ltr">Hi Nyall,<br><div><div class="gmail_extra"><br clear="all">
<br><div class="gmail_quote">On Fri, Aug 14, 2015 at 9:45 PM, Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p dir="ltr"><br>
On 15 Aug 2015 13:17, "Larry Shaffer" <<a href="mailto:larrys@dakotacarto.com" target="_blank">larrys@dakotacarto.com</a>> wrote:<br>
><br>
> Hi Nyall, all,<br>
><br>
> On Thu, Aug 13, 2015 at 11:31 PM, Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>> wrote:<br>
>><br>
>> On 13 August 2015 at 04:32, Tim Sutton <<a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a>> wrote:<br>
>><br>
>> ><br>
>> > Awesome stuff Nyall - can you give any notes on what specifically you had to do to enable OS X testing?<br>
>><br>
>> Not much really... all the ground work was already in place and were<br>
>> just waiting on Travis to open up multi OS builds again. Whoever setup<br>
>> the homebrew install package (Larry?) made it super easy to install<br>
>> the dependencies, and we already had 99% of the tests passing without<br>
>> error on OSX. Michael Kirk had also already given this a shot so I was<br>
>> able to borrow parts of his attempts which also helped a lot.<br>
><br>
><br>
> Yes, I set up the QGIS Homebrew formulae in the osgeo/osgeo4mac tap.<br>
><br>
> For example, to set up a dev environ on Mac:<br>
> <a href="https://github.com/OSGeo/homebrew-osgeo4mac/wiki/Developing-on-QGIS-using-OSGeo4Mac" target="_blank">https://github.com/OSGeo/homebrew-osgeo4mac/wiki/Developing-on-QGIS-using-OSGeo4Mac</a><br>
><br>
> I haven't had time recently to update the work there, so some of the notes may be outdated.</p>
</span><p dir="ltr">Thanks Larry, this made it really easy to implement this.</p>
<p dir="ltr">I'm wondering- is there a way to prevent the installation of postgres/postgis when installing the dependencies? It slows the build down a lot and conflicts with the existing preinstalled postgis available on Travis.</p></blockquote><div>Yeah, the postgres and postgis being preinstalled is a bit of a pain, since they do not seem to keep them updated.<br><br></div><div>Looks like, since they *are* installed, you can try skipping them (and other non-essential recommended libs) as dependencies with:<br><br>$ brew install qgis-28 --without-postgis --without-postgresql --without-grass --without-gpsbabel --only-dependencies<br></div><div><br></div><div>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.<br><br></div><div>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.<br></div><div><br></div><div>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.<br><br></div><div>Regards,<br></div><div><br>Larry Shaffer<br>Dakota Cartography<br>Black Hills, South Dakota</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
</font></span><p dir="ltr"><span class="HOEnZb"><font color="#888888">Nyall</font></span><span class=""><br>
><br>
> Regards,<br>
><br>
> Larry Shaffer<br>
> Dakota Cartography<br>
> Black Hills, South Dakota<br>
><br>
> <br>
>><br>
>> Nyall<br>
>> _______________________________________________<br>
>> Qgis-developer mailing list<br>
>> <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
><br>
</span></p>
</blockquote></div><br></div></div></div>