-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 925 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
33
language: perl
sudo: false
matrix:
include:
- perl: "5.8.3"
- perl: "5.26"
env: RELEASE_TESTING=1 COVERAGE=1
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- env|sort
- build-perl
- local-lib cache
- perl -V
install:
- cpan-install ExtUtils::MakeMaker~6.64 # for TEST_REQUIRES
- cpan-install --deps # installs prereqs, including recommends
- cpan-install --coverage # installs converage prereqs, if enabled
- if [ "$RELEASE_TESTING" = 1 ]; then prove -l xt; fi
- build-dist
- cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command
before_script:
- coverage-setup
script:
- prove -l -j$(test-jobs) $(test-files) # parallel testing
after_success:
- coverage-report
notifications:
irc:
channels:
- "irc.perl.org#graphql-perl"
on_failure: always
skip_join: true