Skip to content

Commit

Permalink
Add newer experimental fracturing of travis scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Feb 28, 2017
1 parent d0461de commit c0e902c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ branches:
- releases
install:
- time perl ./maint-travis-ci/install_deps_early.pl
- time perl ./maint-travis-ci/install_deps.pl
- time perl ./maint-travis-ci/autoinstall_dzil.pl
- time cpanm --quiet --notest --no-man-pages --dev Dist::Zilla::Plugin::Test::Compile::PerFile
- time perl ./maint-travis-ci/install_deps_2.pl
language: perl
matrix:
allow_failures:
Expand Down
6 changes: 5 additions & 1 deletion lib/Dist/Zilla/Plugin/Author/KENTNL/TravisCI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ sub modify_travis_yml {
'time perl ./maint-travis-ci/branch_reset.pl',
'time perl ./maint-travis-ci/sterilize_env.pl',
];
$yaml{install} = [ 'time perl ./maint-travis-ci/install_deps_early.pl', 'time perl ./maint-travis-ci/install_deps.pl', ];
$yaml{install} = [
'time perl ./maint-travis-ci/install_deps_early.pl',
'time perl ./maint-travis-ci/autoinstall_dzil.pl',
'time perl ./maint-travis-ci/install_deps_2.pl',
];
$yaml{before_script} = [ 'time perl ./maint-travis-ci/before_script.pl', ];
$yaml{script} = [ 'time perl ./maint-travis-ci/script.pl', ];
$yaml{after_failure} = [ 'perl ./maint-travis-ci/report_fail_ctx.pl', ];
Expand Down
3 changes: 2 additions & 1 deletion maint/travisci.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
use strict;
use warnings;
return sub {
push @{ $_[0]->{install} }, 'time cpanm --quiet --notest --no-man-pages --dev Dist::Zilla::Plugin::Test::Compile::PerFile';
splice @{ $_[0]->{install} }, 2, 0,
'time cpanm --quiet --notest --no-man-pages --dev Dist::Zilla::Plugin::Test::Compile::PerFile';
};

0 comments on commit c0e902c

Please sign in to comment.