From: Karen Etheridge Date: Thu, 25 Jan 2018 21:09:18 +0000 (-0800) Subject: use Travis CI X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ee062e61b30298334e503311ef0fe132a4b5dc29;p=p5sagit%2FSub-Name.git use Travis CI --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c14a767 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,61 @@ +sudo: false +addons: + apt: + packages: + - aspell + - aspell-en +language: perl +perl: + - "blead" + - "blead-thr" + - "dev" + - "dev-thr" + - "5.26" + - "5.26-thr" + - "5.24" + - "5.24-thr" + - "5.22" + - "5.22-thr" + - "5.20" + - "5.20-thr" + - "5.18" + - "5.18-thr" + - "5.16" + - "5.16-thr" + - "5.14" + - "5.14-thr" + - "5.12" + - "5.12-thr" + - "5.10" + - "5.10-thr" + - "5.8" + - "5.8-thr" + - "5.6.2" + - "5.6.2-thr" +env: + global: + - AUTHOR_TESTING=1 + - AUTOMATED_TESTING=1 + - RELEASE_TESTING=0 +matrix: + allow_failures: + - perl: blead + - perl: blead-thr +before_install: + - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers + - source ~/travis-perl-helpers/init --always-upgrade-modules + - build-perl + - perl -V + - build-dist + - cd $BUILD_DIR +install: + - cpan-install ExtUtils::MakeMaker~6.68 --deps Devel::PPPort + - cpan-install --coverage +before_script: + - coverage-setup +script: + - perl Makefile.PL + - make + - prove -b -r -s -j$(test-jobs) $(test-files) +before_install: + - if [ "$TRAVIS_PERL_VERSION" = "5.6.2" ]; then eval $(curl https://travis-perl.github.io/init) --auto; fi