argh
[catagits/Catalyst-Action-REST.git] / .travis.yml
CommitLineData
92f1e34e 1language: perl
2perl:
3 - "5.16"
4 - "5.14"
5 - "5.12"
6 - "5.10"
7
8matrix:
9 include:
10 - perl: "5.17.10"
11 env:
12 - BREWVER="5.17.10"
13 allow_failures:
14 - perl: "5.17.10"
15
158179dc 16#notifications:
17 #irc:
18 #channels:
19 #- "irc.perl.org#catalyst-dev"
92f1e34e 20
21before_install:
22 - test "$BREWVER" = "" || perlbrew install -j4 $BREWVER
23 - test "$BREWVER" = "" || perlbrew switch $BREWVER
24 - test "$BREWVER" = "" || perl -v
25
26install:
27 # git bits sometimes needed...
28 - git config user.name 'Travis-CI'
29 - git config user.email 'travis@nowhere.dne'
30
31 # ensure we have the latest cpanm
32 - echo y | perlbrew install-cpanm
33
13b3ffdd 34 # XML cpan deps
e7efd1c5 35 - sudo apt-get -y install libexpat-dev
13b3ffdd 36
92f1e34e 37 # see if we can't speed things up a bit
38 - rm -rf ~/.cpanm
39 - mkdir ~/.cpanm
40 - sudo mount tmpfs -t tmpfs ~/.cpanm
41
42 # these fail on parallel test runs
43 # Net::Server: https://rt.cpan.org/Ticket/Display.html?id=84126
44 - cpanm --metacpan --skip-satisfied Net::Server Template File::Remove Filesys::Notify::Simple Config::Any CGI::Simple Plack
45
46 # for testing
47 - cpanm --metacpan --skip-satisfied YAML
48
49 # enable various test options, including parallel testing
50 - export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
51
52 # M::I deps
53 - cpanm --metacpan --skip-satisfied Module::Install Module::Install::AuthorRequires Module::Install::CheckConflicts Module::Install::AuthorTests Module::Install::Authority
54
55 # author deps -- wish there was a better way
56 #- cpanm --metacpan --skip-satisfied CatalystX::LeakChecker Catalyst::Devel Catalyst::Engine::PSGI Starman MooseX::Daemonize
ea0f634e 57 - cpanm --metacpan --skip-satisfied Module::Info File::Find::Rule Test::Pod Test::Pod::Coverage Test::Spelling Pod::Coverage::TrustPod || cat /home/travis/.cpanm/build.log
58 - cpanm --metacpan --skip-satisfied JSON JSON::XS Data::Taxi Config::General PHP::Serialization FreezeThaw XML::Simple || cat /home/travis/.cpanm/build.log
59 - cpanm --metacpan --skip-satisfied --installdeps . || cat /home/travis/.cpanm/build.log
92f1e34e 60
61 # we want these for our tests, but not for any others
62 - export AUTHOR_TESTING=1
63 - export RELEASE_TESTING=1
64
65 - make manifest
66
67script:
68 - make disttest