use travis helper and new Makefile.PL boilerplate
[gitmo/Role-Tiny.git] / .travis.yml
1 language: perl
2 perl:
3   - "5.8.1"
4   - "5.8.4"
5   - "5.8"
6   - "5.10"
7   - "5.12"
8   - "5.14"
9   - "5.16"
10   - "5.18"
11 matrix:
12   include:
13     - perl: 5.18
14       env: COVERAGE=1
15 before_install:
16   - git clone git://github.com/haarg/perl-travis-helper
17   - source perl-travis-helper/init
18   - build-perl
19   - perl -V
20   - build-dist
21   - cd $BUILD_DIR
22 install:
23   - cpan-install --deps
24   - cpan-install --coverage
25 before_script:
26   - coverage-setup
27 script:
28   - prove -lv $(test-dirs)
29 after_success:
30   - coverage-report
31 branches:
32   except:
33     - /^wip\//
34     - /^blocked/
35 notifications:
36   email: false
37   irc:
38     channels:
39       - "irc.perl.org#moo-smoke"
40     template:
41       - "%{branch}#%{build_number} by %{author}: %{message} (%{build_url})"
42     on_success: change
43     on_failure: always
44     skip_join: true