Github, Travis-CI and Perl

Last night we held a London Perl Mongers Technical Meeting. It was organised by Sue Spence and the venue was sponsored by Rick Deller of Eligo.

Much fun was had and much knowledge was imparted. Alex Balhatchet spoke about Test::Kit. Andrew Solomon talked about training people in Perl. Thomas Klausner introduced OX and AngularJS. And Mike Francis talked about using Web::Simple and Web::Machine to build a REST interface to a database – only to be told that Tim Bunce had just released a module that solved all of his problems.

Oh, and I wittered on a bit about using Perl with Github and Travis-CI. The slides are below.

Github, Travis-CI and Perl from Dave Cross

Thanks to everyone for organising, speaking or just coming along.


Posted

in

by

Comments

7 responses to “Github, Travis-CI and Perl”

  1. […] post Github, Travis-CI and Perl appeared first on Perl […]

  2. jonasbn Avatar
    jonasbn

    Awesome set of slides, I did however run into an issue with your example when overwriting the install action and I had to manually add the default behavior like so:

    install:
    cpanm –quiet –installdeps –notest . && cpanm –quiet –notest \
    Devel::Cover::Report::Coveralls

    Just for the record, take care,

    jonasbn

    1. Dave Cross Avatar

      Yeah, you’re right I cut that out to save space on the slides. The full version is in the blog post I mentioned. Sorry for any confusion I caused.

  3. jonasbn Avatar
    jonasbn

    Hi Dave,

    I have had your example of integrating with coveralls running overnight for a single project. I am using Devel::Cover 1.15 and I am not get the same coverage as when using Module::Builds testcover action

    When using Module::Build I get 100% and when I use your example I only get 99.6% simply due to the inclusion of prove in the report. cover -test renders the same result as Module::Build, so something weird happens when using prove.

    So in order to leave prove out of the coverage you need to do something along the lines of:

    PERL5OPT=-MDevel::Cover=”-coverage,statement,branch,condition,path,subroutine+ignore=prove” prove -lrsv t

    Thanks again for awesome slides,

    jonasbn

  4. […] my Github projects and it works like a charm. So when I fell over Dave Cross’ presentation and blog post on Travis CI and Github integration I had to read it case there was something useful I did not know […]

  5. […] a year ago, I dabbled briefly with Travis CI. I even gave a talk about my experiences. The plan was that I would start to use it for all of my code. But real life intervened and I never […]

  6. […] my Github projects and it works like a charm. So when I fell over Dave Cross’ presentation and blog post on Travis CI and Github integration I had to read it case there was something useful I did not know […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.