[Biopython-dev] Using TravisCI stages for continuous integration

Peter Cock p.j.a.cock at googlemail.com
Tue May 16 23:10:17 UTC 2017


Possibly - although building the Tutorial and API
documentation might be tricky (lots of dependencies).

I do like the idea of automating or automatically testing
more parts of the build process like this (thus the sdist
and wheel build targets already in use on TravisCI).

Peter


On Tue, May 16, 2017 at 7:28 PM, João Rodrigues
<j.p.g.l.m.rodrigues at gmail.com> wrote:
> Great change, thanks Peter! 1.5min is nothing really, if it saves 10min on
> some builds. Would it possible to automate the release build as well?
>
>
> A ter, 16/05/2017, 09:15, Peter Cock <p.j.a.cock at googlemail.com> escreveu:
>>
>> Hi all,
>>
>> TravisCI have just released new build stages, which can be
>> used for things like tests and then automated deployment:
>>
>> https://blog.travis-ci.com/2017-05-11-introducing-build-stages
>>
>> I've just updated the GitHub repository's TravisCI recipe to
>> take advantage of the new build stages functionality:
>>
>>
>> https://github.com/biopython/biopython/commit/4154a48c1531582d332bb1b8d4050838bdc6969b
>> https://travis-ci.org/biopython/biopython/builds/232880583
>>
>> This is setup with two stages, first we run the quick basic style
>> and packaging steps (each about 1.5 minute, run in parallel)
>> and then if those pass, the main tests as the second stage
>> (which are slow, around 10 minutes).
>>
>> The downside: On a clean run, the two-stage process will
>> take ~1.5 minute longer.
>>
>> The upsides: Many recent jobs have failed the style check,
>> so there was little value in running all the computationally
>> expensive functional tests. We were wasting lots of donated
>> compute time. Now those failures will stop after the basic
>> tests, giving a quick negative result.
>>
>> Peter
>> _______________________________________________
>> Biopython-dev mailing list
>> Biopython-dev at mailman.open-bio.org
>> http://mailman.open-bio.org/mailman/listinfo/biopython-dev



More information about the Biopython-dev mailing list