-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
53 lines (46 loc) · 1.73 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
42
43
44
45
46
47
48
49
50
51
52
language: perl
perl:
- "5.30"
- "5.28"
- "5.26"
- "5.24"
- "5.22"
- "5.20.3"
#branches:
# only:
# - releases
matrix:
include:
- perl: 5.26
env: COVERAGE=1
before_install:
- git config --global user.name "TravisCI"
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- cpanm -n Devel::Cover::Report::Coveralls
- coverage-setup
install:
- cpanm --quiet --notest --skip-satisfied Dist::Zilla
- cpanm --quiet --notest Module::Install
- cpanm --quiet --notest Mail::SPF --install-args="--install-path sbin=/tmp"
- cpanm --quiet --notest Test::More Test::File::Contents Test::Perl::Critic
- cpanm --quiet --notest List::MoreUtils::XS List::MoreUtils
- cpanm --quiet --notest Test::CheckManifest Test::Pod::Coverage Test::Pod
- cpanm --quiet --notest Cwd Email::Date::Format Email::Simple
- cpanm --quiet --notest English IO::Socket JSON Mail::DKIM::Verifier Mail::DKIM Mail::AuthenticationResults
- cpanm --quiet --notest MIME::Base64 Module::Load Module::Loaded
- cpanm --quiet --notest Net::DNS
- cpanm --quiet --notest Net::DNS::Resolver::Mock
- cpanm --quiet --notest Net::IP Net::Server
- cpanm --quiet --notest Pod::Usage Proc::ProcessTable Socket Sys::Hostname Sys::Syslog
- cpanm --quiet --notest git://github.com/fastmailops/mail-dmarc.git@fastmail
- cpanm --quiet --notest Dist::Zilla::Plugin::OurPkgVersion || cpanm --quiet --notest Dist::Zilla::Plugin::OurPkgVersion@0.14
- dzil authordeps --missing | cpanm --quiet --notest
- dzil listdeps --missing | cpanm --quiet --notest
- cpan-install --coverage
script:
- dzil test
after_success:
- coverage-report