this is probably the right fix
[p5sagit/Sub-Name.git] / .travis.yml
1 addons:
2   apt:
3     packages:
4       - aspell
5       - aspell-en
6 language: perl
7 perl:
8   - "blead"         # builds perl from git
9 #  - "blead-thr"
10 #  - "dev"           # latest point release
11 #  - "dev-thr"
12 #  - "5.30"
13 #  - "5.30-thr"
14 #  - "5.28"
15 #  - "5.28-thr"
16 #  - "5.26"
17 #  - "5.26-thr"
18 #  - "5.24"
19 #  - "5.24-thr"
20 #  - "5.22"
21 #  - "5.22-thr"
22 #  - "5.20"
23 #  - "5.20-thr"
24 #  - "5.18"
25 #  - "5.18-thr"
26 #  - "5.16"
27 #  - "5.16-thr"
28 #  - "5.14"
29 #  - "5.14-thr"
30 #  - "5.12"
31 #  - "5.12-thr"
32 #  - "5.10"
33 #  - "5.10-thr"
34 #  - "5.8"
35 #  - "5.8-thr"
36 matrix:
37   allow_failures:
38     - perl: blead
39 #    - perl: blead-thr
40   fast_finish: 1
41   include:
42     # modules required for author testing do not build on 5.6
43     - perl: "5.6.2"
44       env: AUTHOR_TESTING=0
45     - perl: "5.6.2-thr"
46       env: AUTHOR_TESTING=0
47 env:
48   global:
49     - AUTHOR_TESTING=1
50     - AUTOMATED_TESTING=1
51     - RELEASE_TESTING=0
52 before_install:
53   - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
54   - source ~/travis-perl-helpers/init
55   - build-perl
56   - perl -V
57   - build-dist
58   - cd $BUILD_DIR
59 install:
60   - perl -MScalar::Util -e'print qq{global -- in perl $], Scalar::Util is at version $Scalar::Util::VERSION\n}'
61   - perl -M5.008 -e1 2>/dev/null || cpan-install Scalar::Util@1.52
62   - perl -MScalar::Util -e'print qq{global -- in perl $], Scalar::Util is at version $Scalar::Util::VERSION\n}'
63   - cpan-install --deps
64 script:
65   - perl Makefile.PL
66   - make
67   - prove -b -r -s -j$(test-jobs) $(test-files)