initial Travis-CI configuration
[catagits/Catalyst-Runtime.git] / .travis.yml
CommitLineData
209210df 1language: perl
2perl:
3 - "5.16"
4 - "5.14"
5 - "5.12"
6 - "5.10"
7
8install:
9 # git bits sometimes needed...
10 - git config user.name 'Travis-CI'
11 - git config user.email 'travis@nowhere.dne'
12
13 # ensure we have the latest cpanm
14 - echo y | perlbrew install-cpanm
15
16 # see if we can't speed things up a bit
17 - rm -rf ~/.cpanm
18 - mkdir ~/.cpanm
19 - sudo mount tmpfs -t tmpfs ~/.cpanm
20
21 # these fail on parallel test runs
22 # Net::Server: https://rt.cpan.org/Ticket/Display.html?id=84126
23 - cpanm --metacpan --skip-satisfied Net::Server Template File::Remove Filesys::Notify::Simple Config::Any CGI::Simple Plack
24
25 # for testing
26 - cpanm --metacpan --skip-satisfied YAML
27
28 # enable various test options, including parallel testing
29 - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
30
31 # M::I deps
32 - cpanm --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority
33
34 # author deps -- wish there was a better way
35 - cpanm --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize
36 - cpanm --metacpan --skip-satisfied Test::Without::Module Test::NoTabs Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod
37 - cpanm --metacpan --skip-satisfied --installdeps .
38
39 # we want these for our tests, but not for any others
40 - export AUTHOR_TESTING=1
41 - export RELEASE_TESTING=1
42
43 - make manifest
44
45script:
46 - make disttest