language: "perl"
sudo: false
perl:
# - "5.6.2"
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.22-thr"
- "5.22-dbg"
- "5.22-thr-dbg"
- "5.22-mb"
- "dev"
- "blead"
#addons:
# apt:
# packages:
# - gperf
# blead and 5.6 stumble over YAML and more missing dependencies
# for Devel::Cover::Report::Coveralls
# cpanm does not do 5.6
before_install:
- mkdir /home/travis/bin || true
- ln -s `which true` /home/travis/bin/cpansign
- eval $(curl https://travis-perl.github.io/init) --auto
install:
- export AUTOMATED_TESTING=1 HARNESS_TIMER=1 AUTHOR_TESTING=0 RELEASE_TESTING=0
- cpan-install --deps # installs prereqs, including recommends
- cpan-install JSON JSON::PP JSON::XS Mojo::JSON Test::LeakTrace Time::Piece
- cpan-install --coverage # installs converage prereqs, if enabled
before_script:
- coverage-setup
notifications:
email:
on_success: change
on_failure: always
matrix:
fast_finish: true
include:
- perl: "5.18"
env: COVERAGE=1 AUTHOR_TESTING=1 # enables coverage+coveralls reporting
allow_failures:
- env: COVERAGE=1 AUTHOR_TESTING=1
# Hack to not run on tag pushes:
branches:
except:
- /^v?[0-9]+\.[0-9]+/