-
Notifications
You must be signed in to change notification settings - Fork 274
/
.travis.yml
41 lines (37 loc) · 1.34 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
41
dist: trusty
language: perl
perl:
- "5.30"
- "5.28"
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
notifications:
irc:
channels:
- "irc.perl.org#dancer-core"
template:
- "%{branch}#%{build_number} by %{author}: %{message} (%{build_url})"
on_success: change
on_failure: always
use_notice: true
install:
#Safe fails to install due to failing tests since version 2.35 on perl < 5.14
- perl -E 'exit($] < 5.014)' || cpanm --no-skip-satisfied Safe || cpanm --no-skip-satisfied --notest Safe || { cat ~/.cpanm/build.log ; false ; }
#Moo fails to install without Class::Method::Modifiers since 2012/10/19
# Need old versions of App::Cmd and Pod::Weaver (for dzil) that don't have the 5.20 requirement
- cpanm App::[email protected] Pod::[email protected]
- cpanm --no-skip-satisfied Class::Method::Modifiers YAML::XS || { cat ~/.cpanm/build.log ; false ; }
- dzil authordeps --missing | cpanm --no-skip-satisfied || { cat ~/.cpanm/build.log ; false ; }
- dzil listdeps --author --missing | cpanm --no-skip-satisfied || { cat ~/.cpanm/build.log ; false ; }
# Needed for test t/issues/gh-811.t
- cpanm Dancer2::Session::Cookie
# We do not need sudo. Setting this allows travis to use (Docker) containers on EC2
sudo: false
script:
- dzil test --author --release