Skip to content

Commit

Permalink
update travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
rsrchboy committed Oct 13, 2016
1 parent fb82557 commit 2cce472
Showing 1 changed file with 30 additions and 41 deletions.
71 changes: 30 additions & 41 deletions .travis.yml
@@ -1,45 +1,34 @@
sudo: false
addons:
apt:
packages:
- aspell
- aspell-en
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"

- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
- "dev"
env:
global:
- COVERAGE=1
cache:
directories:
- $HOME/perl5/perlbrew/perls/$TRAVIS_PERL_VERSION/bin/
- $HOME/perl5/perlbrew/perls/$TRAVIS_PERL_VERSION/lib/site_perl/
before_cache:
- perlbrew list
- set | grep -a 'PERL.*='
matrix:
allow_failures:
- perl: "5.8"

branches:
except:
- "release/cpan"

allow_failures:
- perl: dev
before_install:
# git bits sometimes needed...
- git config user.name 'Travis-CI'
- git config user.email 'travis@nowhere.dne'

# gotta love failing pod tests blowing everything up...
- cpanm -q TAP::Harness::Restricted || { cat ~/.cpanm/build.log ; false ; }
- export HARNESS_SUBCLASS=TAP::Harness::Restricted

# Moose installs in parallel quite nicely.
- HARNESS_OPTIONS=j8:c cpanm -q Moose || { cat ~/.cpanm/build.log ; false ; }
#- HARNESS_OPTIONS=j8:c cpanm -q Dist::Zilla || { cat ~/.cpanm/build.log ; false ; }

# for DZP LinkCheck
- cpanm --skip-satisfied -q CPANPLUS || { cat ~/.cpanm/build.log ; false ; }
- cpanp x

install:
# not so much install our package as all its prereqs
#- dzil authordeps --missing | cpanm -q || { cat ~/.cpanm/build.log ; false ; }
#- dzil listdeps --author --missing | cpanm -q || { cat ~/.cpanm/build.log ; false ; }
- cpanm --installdeps .

script:
- export DZSIGN=archive
- unset HARNESS_SUBCLASS
#- dzil test --release --author
- prove -lr t/
- cpanp x
- eval $(curl https://travis-perl.github.io/init) --auto

0 comments on commit 2cce472

Please sign in to comment.