Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 27 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,41 @@
sudo: false
language: perl
perl:
- "blead"
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"

matrix:
allow_failures:
- perl: blead
include:
- perl: "5.26"
env: COVERAGE=1

before_install:
- "dzil authordeps | xargs cpanm"
- "cpanm -n Devel::Cover::Report::Coveralls"
- "cpanm Dist::Zilla::App::Command::cover"
install: "dzil listdeps | xargs cpanm"
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --always-upgrade-modules
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR

install:
- cpan-install --deps --coverage
- cpan-install Devel::Cover
- dzil authordeps --missing | cpanm

script:
- "PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t"
- "cover"
- "dzil test"

after_success:
- "cover -report coveralls"
- coverage-report
6 changes: 3 additions & 3 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ Pod::Usage = 0
[Readme]

; Adds 'provides' section in META.yml
[MetaProvides::Package]
;[MetaProvides::Package]

[GitHub::Meta]
;[GitHub::Meta]

[CheckChangeLog]

Expand All @@ -73,7 +73,7 @@ critic_config = xt/perlcritic.rc
[PodSyntaxTests]

; Tests module Kwalitee
[Test::Kwalitee::Extra]
[Test::Kwalitee]

; upload Distribution to CPAN
[TestRelease]
Expand Down