Hey,
We now have Travis [0] hooked up to the Diff [1] repository that gets
automatically updated from the WMF hosted one [2]. This means that for
every commit, a build will be made and listed here [3].
The builds are currently done by running the tests on all of PHP 5.3, 5.4
and 5.5. This and other config can be specified in a .travis.yml in the
root dir of the component [4]. Travis supports SQLite, MySQL and PostGres,
so hopefully we'll be able to have the tests for Wikibase run on all of
these. The PHPUnit tests are run using the phpunit.xml.dist config file in
the root dir, so this is more reliable then the WMF jenkins setup at this
point, which is still using the MediaWiki hook manual test registration
stuff.
Currently this is only done for Diff, though we are working on also having
this work for our other components. The main problem there is getting the
relevant dependencies pulled and loaded, which could be done with some git
clones in the setup section of the Travis config file. It'd however be
better to not duplicate this info which is already in composer.json and
actually use Composer to do the task. I'm going to try to get that working
for Ask and then Wikibase. If that takes to long, I'll switch to using
simple git clones so this testing stuff is not blocked on getting our
components to work with Composer.
[0]
https://travis-ci.org/
[1]
https://www.mediawiki.org/wiki/Extension:Diff
[2]
https://github.com/wikimedia/mediawiki-extensions-Diff/
[3]
https://travis-ci.org/wikimedia/mediawiki-extensions-Diff/builds/
[4]
https://github.com/wikimedia/mediawiki-extensions-Diff/blob/master/.travis.…
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--