-
Notifications
You must be signed in to change notification settings - Fork 43
/
.travis.yml
40 lines (40 loc) · 1.64 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: perl
perl:
- '5.26.1-thr'
- '5.23.6-thr' # installs the current dev. release with threading
- '5.22.1-thr' # installs perl 5.22.1 with threading
- '5.20.2-thr' # installs perl 5.20.0 with threading
- '5.18.2-thr' # installs perl 5.18.2 with threading
- '5.16.3-thr' # installs perl 5.16.3 with threading
- '5.14.4-thr' # installs perl 5.14.4 with threading
- '5.12.5-thr' # installs perl 5.12.5 with threading
- '5.10.1-thr' # installs perl 5.10.1 with threading
before_install:
- git clone git://github.com/haarg/perl-travis-helper ~/perl-travis-helper
- source ~/perl-travis-helper/init
- build-perl
- perl -V
install:
- cpanm -v --notest Test::CPAN::Meta # required by xt/meta.t
- cpanm -v --notest Test::MinimumVersion # required by xt/pmv.t
- cpanm -v --notest Test::Pod # required by xt/pod.t
- cpanm -v --notest Test::Pod::Coverage # required by test script during Module::Install
- cpanm -v Devel::Cover
- cpanm -v Devel::Cover::Report::Coveralls
- cpanm -v ExtUtils::MakeMaker
- cpanm -v ExtUtils::Embed
- cpanm -v Locale::Msgfmt
- cpanm -v Module::Install
- cpanm -v --verbose Alien::wxWidgets # Build verbose to keep Travis stimulated
- cpanm -v --notest ExtUtils::ParseXS # >= 3.16, hacking 5.14.4 & below for Wx
- cpanm -v --notest --installdeps .
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1
env: COVERAGE=1
before_script:
- coverage-setup
script:
- perl Makefile.PL
- make
- prove -bv $(test-dirs)
after_success:
- coverage-report