-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 901 Bytes
/
.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
language: perl
perl:
- "5.18"
- "5.20"
matrix:
include:
- perl: 5.18
env: COVERAGE=1
allow_failures:
- perl: "blead"
sudo: true
before_install:
- sudo apt-get install -y sqlite3
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command
install:
- cpanm --notest https://github.com/jerowe/HPC-Runner-Command.git
- cpanm --notest Package::DeprecationManager
- cpanm --notest --installdeps .
- cpanm --quiet --notest --skip-satisfied Dist::Milla
- cpanm --notest Test::Class::Moose::Load
- cpan-install --coverage # installs converage prereqs, if enabled
before_script:
- coverage-setup
script:
- prove -l -j$(test-jobs) $(test-files) # parallel testing
after_success:
- coverage-report