From: Karen Etheridge Date: Thu, 25 Jan 2018 21:09:18 +0000 (-0800) Subject: use Travis CI X-Git-Tag: v0.24~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FSub-Name.git;a=commitdiff_plain;h=e1737edbf0eba999677ff144e1119b71cb57ec9f use Travis CI --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d3cc3e2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,60 @@ +sudo: false +addons: + apt: + packages: + - aspell + - aspell-en +language: perl +perl: + - "blead" # builds perl from git + - "blead-thr" + - "dev" # latest point release + - "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" +matrix: + allow_failures: + - perl: blead + - perl: blead-thr + include: + # modules required for author testing do not build on 5.6 + - perl: "5.6.2" + env: AUTHOR_TESTING=0 + - perl: "5.6.2-thr" + env: AUTHOR_TESTING=0 +env: + global: + - AUTHOR_TESTING=1 + - AUTOMATED_TESTING=1 + - RELEASE_TESTING=0 +before_install: + - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers + - source ~/travis-perl-helpers/init + - build-perl + - perl -V + - build-dist + - cd $BUILD_DIR +install: + - cpan-install --deps +script: + - perl Makefile.PL + - make + - prove -b -r -s -j$(test-jobs) $(test-files)