<div dir="ltr">Hi Jürgen,<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 16, 2014 at 3:41 PM, Jürgen E. <span dir="ltr"><<a href="mailto:jef@norbit.de" target="_blank">jef@norbit.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Larry,<br>
<br>
On Sat, 15. Feb 2014 at 13:11:50 -0700, Larry Shaffer wrote:<br></blockquote><div><br></div><div>---8<--------snip--------------<br><br></div><div>All of your comments on unit tests make sense to me.<br></div><div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> I am suggesting to have official or sponsored CI servers as a preventative<br>
> measure. For example, many github accounts have a CI server hooked into their<br>
> pull requests. This way, the repo maintainers have a constant check as to<br>
> whether the proposed change builds and passes tests *before* the request is<br>
> merged.<br>
<br>
We could use travis[1] for that (other OSGeo projects already do). But I think<br>
there is no coverage for OSX and Windows there.<br></blockquote><div><br></div><div>Excellent! Thanks for pointing me in that direction.<br><br>This time I looked into Travis, I found they now have OS X support [0], and it supports the Homebrew project for installing dependencies. This is *very* good, since they do not offer the new caching feature for Mac, only Linux [1]. I imagine the caching will be very important for any QGIS Travis setups, since their build process means starting up a VM then reverting it after completion, i.e. all dependencies would need to be built or installed from binary packages.<br>
<br>The caching feature just pulls from an offsite Amazon S3 bucket, which is what I also use for the Mac nighties. This means I can leverage Homebrew to produce 'bottles' (binary install packages) and store them in my (or an OSGeo) bucket. Homebrew will then install all needed dependencies, similar to how Travis's cache works.<br>
<br></div><div>This also means I can fully setup Travis and test its integration on my own QGIS fork first. I can also set up a script to auto-update my fork from QGIS/master which will give some metrics, including bandwith usage on my S3 bucket (which is cheap).<br>
<br>Though the available CI environment for OS X is only at version 10.8.5 (not 10.9.1), that is better than nothing at all, considering Travis is free and most QGIS devs aren't testing on Mac. :-)<br></div><div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Not sure where to get OSX servers and how much that would cost, but at Hetzner<br>
Windows 2012 R2 Standard Edition costs 25 EUR extra a month (ie. 84 EUR a month<br>
for Windows Server). But both could probably be integrated with jenkins on the<br>
new servers and also take over the nightly builds.<br>
<br>
But that also only makes real sense once the tests are fixed (for what we don't<br>
need any of the above).<br></blockquote><div><br></div><div>OK, I see your point now. Thanks for explaining it.<br><br>[0] <a href="http://docs.travis-ci.com/user/osx-ci-environment/">http://docs.travis-ci.com/user/osx-ci-environment/</a><br>
[1] <a href="http://docs.travis-ci.com/user/caching/">http://docs.travis-ci.com/user/caching/</a><br><br><div>Regards,<br><br></div>Larry<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Jürgen<br>
<br>
<br>
[1] <a href="http://docs.travis-ci.com/user/getting-started/" target="_blank">http://docs.travis-ci.com/user/getting-started/</a><br>
<span class=""><font color="#888888"><br>
--<br>
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31<br>
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50<br>
Software Engineer D-26506 Norden <a href="http://www.norbit.de" target="_blank">http://www.norbit.de</a><br>
<br>
<br>
--<br>
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH<br>
Rheinstrasse 13, 26506 Norden<br>
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502<br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">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>
</font></span></blockquote></div><br></div></div></div>