[Biopython-dev] Travis-CI to complement BuildBot
p.j.a.cock at googlemail.com
Thu Jun 21 05:21:10 EDT 2012
We now have more automated testing being done, thanks
to Travis-CI (Travis Continuous Integration):
What this means is that whenever a commit is pushed to
https://github.com/biopython/biopython/ it should trigger
Travis to run the unit tests on their farm of Debian 64bit
Pros: Testing every time a commit is pushed, should
be minimal maintenance effort for us.
Cons: Only tests on 64bit Debian Linux, currently
doesn't include Jython, and only an older PyPy
Pros: Testing multiple platforms (currently Windows,
Mac, and both 32bit and 64bit Linux) including Jython.
Cons: Adding new platforms (buildslaves) takes quite
a lot of time to setup, and since they are all volunteer
machines we can only really test on a nightly basis.
i.e. I see Travis-CI and our BuildBot as complementary.
This was prompted by the success BioRuby was having
with Travis, http://travis-ci.org/#!/bioruby/bioruby and
Thank you to the BioRuby team for their assistance last
month in getting this enabled for Biopython to. I quickly
got this working on my personal repository and worked
out a reasonable configuration file balancing dependencies
and run time - numpy is a problem though:
This week I had a fresh attempt at hooking this up to
the official Biopython repository:
(1) Create an account on Travis via your Github account
(2) Adding a .travis.yml file to the repository
(2) Enable testing of this repository via your Travis profile,
easy for personal repositories, harder if the repository is
for an "Organization" on Github (like Biopython). See:
This was done using my personal Github account (peterjc),
but in principle any of the developers with admin rights to
the Github biopython account could do this. It didn't take
effect immediately, but overnight the backlog of tests I'd
tried to trigger happened - thus the first dozen builds that
Travis tests include a fair number of repeats. Oops.
Are there any views on if and where we should ask Travis
to send email reports? e.g. Just the Biopython Developers
with commit rights? We should be able to send them to
the biopython-dev mailing list but I fear too many emails
would annoy people.
More information about the Biopython-dev