From: Henry Van Styn Date: Fri, 26 Sep 2014 21:54:54 +0000 (-0400) Subject: Added Travis config (based on cfg from Catalyst) X-Git-Tag: v0.33~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Static-Simple.git;a=commitdiff_plain;h=94538c9e191fa4ed0ea5396f591ee94025e9d11e Added Travis config (based on cfg from Catalyst) --- diff --git a/.gitignore b/.gitignore index 0241fe4..bb87d85 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -.* !.gitignore Makefile* !Makefile.PL diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c98995e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,33 @@ +language: perl +perl: + - "5.20" + - "5.18" + - "5.16" + - "5.14" + - "5.12" + - "5.10" + - "5.8" + +install: + # Based on Catalyst travis cfg: + + # M::I deps + - cpanm --notest --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 --notest --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize Test::WWW::Mechanize::Catalyst Catalyst::Plugin::Params::Nested + - cpanm --notest --metacpan --skip-satisfied Test::Without::Module Test::NoTabs Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod + - cpanm --notest --metacpan --skip-satisfied --installdeps . + - echo y | perl Makefile.PL + + # enable various test options, including parallel testing + - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 + + # we want these for our tests, but not for any others + - export AUTHOR_TESTING=1 + - export RELEASE_TESTING=1 + + - make manifest + +script: + - make disttest