use Travis CI
[p5sagit/Sub-Name.git] / .travis.yml
CommitLineData
ee062e61 1sudo: false
2addons:
3 apt:
4 packages:
5 - aspell
6 - aspell-en
7language: perl
8perl:
9 - "blead"
10 - "blead-thr"
11 - "dev"
12 - "dev-thr"
13 - "5.26"
14 - "5.26-thr"
15 - "5.24"
16 - "5.24-thr"
17 - "5.22"
18 - "5.22-thr"
19 - "5.20"
20 - "5.20-thr"
21 - "5.18"
22 - "5.18-thr"
23 - "5.16"
24 - "5.16-thr"
25 - "5.14"
26 - "5.14-thr"
27 - "5.12"
28 - "5.12-thr"
29 - "5.10"
30 - "5.10-thr"
31 - "5.8"
32 - "5.8-thr"
33 - "5.6.2"
34 - "5.6.2-thr"
35env:
36 global:
37 - AUTHOR_TESTING=1
38 - AUTOMATED_TESTING=1
39 - RELEASE_TESTING=0
40matrix:
41 allow_failures:
42 - perl: blead
43 - perl: blead-thr
44before_install:
45 - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
46 - source ~/travis-perl-helpers/init --always-upgrade-modules
47 - build-perl
48 - perl -V
49 - build-dist
50 - cd $BUILD_DIR
51install:
52 - cpan-install ExtUtils::MakeMaker~6.68 --deps Devel::PPPort
53 - cpan-install --coverage
54before_script:
55 - coverage-setup
56script:
57 - perl Makefile.PL
58 - make
59 - prove -b -r -s -j$(test-jobs) $(test-files)
60before_install:
61 - if [ "$TRAVIS_PERL_VERSION" = "5.6.2" ]; then eval $(curl https://travis-perl.github.io/init) --auto; fi