1os: 2 - linux 3 - osx 4 5language: perl 6perl: 7 - "5.28" 8 - "5.26" 9 - "5.24" 10 - "5.22" 11 - "5.20" 12 - "5.20-shrplib" 13 - "5.18" 14 - "5.18-shrplib" 15 - "5.16" 16 - "5.14" 17 - "5.12" 18 - "5.10" 19 - "5.8" 20 21env: 22 - TEST_ELASTICSEARCH=1 TEST_LIVE=1 TEST_HOST=localhost TEST_PORT=9200 TEST_COUCHDB=http://localhost:5984/ 23 24services: 25 - elasticsearch 26 - couchdb 27 28before_install: 29 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -L https://install.perlbrew.pl | bash ; source $HOME/perl5/perlbrew/etc/bashrc; perlbrew install -j4 --notest --as perl-$TRAVIS_PERL_VERSION $(perlbrew available | grep $TRAVIS_PERL_VERSION | cut -c4- | head -1); perlbrew clean; perlbrew install-cpanm; perlbrew use "$TRAVIS_PERL_VERSION"; fi 30 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers; source ~/travis-perl-helpers/init; build-perl; fi 31 - perl -V 32 - cpanm --notest Devel::Cover Devel::Cover::Report::Coveralls Test::More~0.98 33 34script: 35 if [[ "$TRAVIS_PERL_VERSION" != "5.8" ]]; then PERL5OPT=-MDevel::Cover prove -l -v -r t && cover -report coveralls; else prove -lrv t; fi 36 37notifications: 38 irc: 39 channels: 40 - "irc.freenode.org#chupei.pm" 41 use_notice: true 42 43git: 44 depth: 1 45 46matrix: 47 allow_failures: 48 - perl: 5.8 49 - os: osx 50 perl: 5.20-shrplib 51 - os: osx 52 perl: 5.18-shrplib 53