7d9461d4526acbf64443d303909f6aec6327e130
[p5sagit/Sub-Name.git] / .travis.yml
1 sudo: false
2 addons:
3   apt:
4     packages:
5       - aspell
6       - aspell-en
7 language: perl
8 perl:
9   - "blead"         # builds perl from git
10   - "blead-thr"
11   - "dev"           # latest point release
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"
35 matrix:
36   allow_failures:
37     - perl: blead
38     - perl: blead-thr
39   include:
40     # modules required for author testing do not build on 5.6
41     - perl: "5.6.2"
42       env: AUTHOR_TESTING=0
43     - perl: "5.6.2-thr"
44       env: AUTHOR_TESTING=0
45 env:
46   global:
47     - AUTHOR_TESTING=1
48     - AUTOMATED_TESTING=1
49     - RELEASE_TESTING=0
50 before_install:
51   - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
52   - source ~/travis-perl-helpers/init
53   - build-perl
54   - perl -V
55   - build-dist
56   - cd $BUILD_DIR
57 install:
58   - perl -M5.014 -e1 2>/dev/null || cpan-install Dist::Zilla@5.047
59   - cpan-install --deps
60 script:
61   - perl Makefile.PL
62   - make
63   - prove -b -r -s -j$(test-jobs) $(test-files)