From 30bfa110f7a7e2e0ffb5ab8622ed8b6d04e6d07b Mon Sep 17 00:00:00 2001 From: Zakariyya Mughal Date: Thu, 26 May 2016 12:32:21 -0500 Subject: [PATCH] Add Travis-CI configuration Fixes --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..32d98ca --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: perl +perl: + - "5.10" + - "5.22" + - "dev" # installs latest developer release of perl (e.g. 5.21.8) + - "blead" # builds perl from git +matrix: + include: + - perl: 5.18 + env: COVERAGE=1 # enables coverage+coveralls reporting + allow_failures: + - perl: blead # ignore failures for blead perl +sudo: false # faster builds as long as you don't need sudo access +before_install: + - export PERL5OPT="${PERL5OPT}${PERL5OPT:+ }"'-Iblib/lib' # work around for Travis Perl helper (auto.bash $blib) + - if [ "$COVERAGE" == "1" ]; then + export HARNESS_PERL_SWITCHES="${HARNESS_PERL_SWITCHES}${HARNESS_PERL_SWITCHES:+ }"'-MDevel::Cover=-ignore,^x?t/,-ignore,ConfigData,-blib,0'; + fi + - eval $(curl https://travis-perl.github.io/init) --auto