From: Chris Weyl Date: Thu, 21 Mar 2013 17:13:17 +0000 (-0700) Subject: initial Travis-CI configuration X-Git-Tag: 5.90030~5^2~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=209210df84f791b1e5bdcd1531cce6bcc6499168;hp=64111aca12ab4c4b405737d9fc67aea47354c6d7 initial Travis-CI configuration see https://travis-ci.org/perl-catalyst/catalyst-runtime for buildstatus, etc. --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..01c0852 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,46 @@ +language: perl +perl: + - "5.16" + - "5.14" + - "5.12" + - "5.10" + +install: + # git bits sometimes needed... + - git config user.name 'Travis-CI' + - git config user.email 'travis@nowhere.dne' + + # ensure we have the latest cpanm + - echo y | perlbrew install-cpanm + + # see if we can't speed things up a bit + - rm -rf ~/.cpanm + - mkdir ~/.cpanm + - sudo mount tmpfs -t tmpfs ~/.cpanm + + # these fail on parallel test runs + # Net::Server: https://rt.cpan.org/Ticket/Display.html?id=84126 + - cpanm --metacpan --skip-satisfied Net::Server Template File::Remove Filesys::Notify::Simple Config::Any CGI::Simple Plack + + # for testing + - cpanm --metacpan --skip-satisfied YAML + + # enable various test options, including parallel testing + - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 + + # M::I deps + - cpanm --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority + + # author deps -- wish there was a better way + - cpanm --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize + - cpanm --metacpan --skip-satisfied Test::Without::Module Test::NoTabs Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod + - cpanm --metacpan --skip-satisfied --installdeps . + + # we want these for our tests, but not for any others + - export AUTHOR_TESTING=1 + - export RELEASE_TESTING=1 + + - make manifest + +script: + - make disttest