Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nics committed Aug 19, 2019
2 parents c7bd42c + 9c1adad commit dbad00f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: perl
perl:
- "5.28"
- "5.26"
- "5.24"
- "5.20"
Expand All @@ -8,16 +9,25 @@ perl:
- "5.14"
- "5.12"
- "5.10"

env: RELEASE_TESTING=1 AUTOMATED_TESTING=1 DEVEL_COVER=0

matrix:
include:
- perl: "5.30"
env: DEVEL_COVER=1

before_install:
- cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
- cpanm --notest Perl::Tidy
- cpanm --notest Test::Code::TidyAll
install:
- cpanm --quiet --installdeps --notest --force --skip-satisfied .
- cpanm --quiet --notest --skip-satisfied Devel::Cover
- if [ "$DEVEL_COVER" = "1" ]; then cpanm --quiet --notest Devel::Cover; fi
script:
- perl Build.PL && ./Build build && cover -test
- if [ "$DEVEL_COVER" = "0" ]; then perl Build.PL && ./Build test; fi
- if [ "$DEVEL_COVER" = "1" ]; then perl Build.PL && ./Build build && cover -test; fi
after_success:
- cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Coveralls
- cover -report coveralls
env: RELEASE_TESTING=1 AUTOMATED_TESTING=1
sudo: false
- if [ "$DEVEL_COVER" = "1" ]; then cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Coveralls; fi
- if [ "$DEVEL_COVER" = "1" ]; then cover -report coveralls; fi
sudo: false
1 change: 1 addition & 0 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ requires 'Log::Any', 0;
requires 'Log::Any::Adapter', 0;
requires 'LWP::UserAgent', 0;
requires 'MIME::Types',0;
requires 'Module::Build', '>=0.4229'; # travis ci
requires 'Module::Info', 0;
requires 'Moo', '>=1.004006';
requires 'MooX::Aliases', '>=0.001006';
Expand Down

0 comments on commit dbad00f

Please sign in to comment.