-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from LibreCat/fix_travis_build
update travis build; use Module::Build
- Loading branch information
Showing
5 changed files
with
94 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,38 @@ | ||
language: perl | ||
perl: | ||
- "5.20" | ||
- "5.18" | ||
- "5.16" | ||
- "5.14" | ||
- "5.12" | ||
matrix: | ||
include: | ||
- perl: "5.28" | ||
dist: xenial | ||
- perl: "5.26" | ||
dist: xenial | ||
- perl: "5.24" | ||
dist: xenial | ||
- perl: "5.22" | ||
dist: xenial | ||
- perl: "5.20" | ||
dist: trusty | ||
- perl: "5.18" | ||
dist: trusty | ||
- perl: "5.16" | ||
dist: trusty | ||
- perl: "5.14" | ||
dist: trusty | ||
- perl: "5.12" | ||
dist: trusty | ||
install: | ||
- cpanm --quiet --notest --force --skip-satisfied . | ||
- cpanm --quiet --notest --skip-satisfied Devel::Cover | ||
- cpanm --local-lib=~/perl5 local::lib | ||
- cpanm --local-lib=~/perl5 --quiet --notest --skip-satisfied Devel::Cover | ||
- cpanm --local-lib=~/perl5 --quiet --notest --skip-satisfied Module::Build | ||
- cpanm --local-lib=~/perl5 --quiet --installdeps --notest --force --skip-satisfied . | ||
script: | ||
- perl Build.PL && cover -test | ||
- export PERL5LIB=$HOME/perl5/lib/perl5 | ||
- export PATH=$HOME/perl5/bin:$PATH | ||
- perl Build.PL && ./Build build && cover -test | ||
after_success: | ||
- cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Coveralls | ||
- cover -report coveralls | ||
env: RELEASE_TESTING=1 AUTOMATED_TESTING=1 | ||
sudo: false | ||
|
||
#default is "xenial" which does not support perl versions older than 5.22 | ||
dist: bionic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,54 @@ | ||
# This Build.PL for Catmandu-Template was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.015. | ||
|
||
# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.011. | ||
use strict; | ||
use warnings; | ||
|
||
use v5.10.1; | ||
use Module::Build::Tiny 0.034; | ||
Build_PL(); | ||
use Module::Build 0.28; | ||
|
||
|
||
my %module_build_args = ( | ||
"build_requires" => { | ||
"Module::Build" => "0.28" | ||
}, | ||
"configure_requires" => { | ||
"Module::Build" => "0.28" | ||
}, | ||
"dist_abstract" => "Catmandu modules for working with templates", | ||
"dist_author" => [ | ||
"Nicolas Steenlant, C<< <nicolas.steenlant at ugent.be> >>" | ||
], | ||
"dist_name" => "Catmandu-Template", | ||
"dist_version" => "0.12", | ||
"license" => "perl", | ||
"module_name" => "Catmandu::Template", | ||
"recursive_test_files" => 1, | ||
"requires" => { | ||
"Catmandu" => "0.9301", | ||
"Moo" => "> 1.004", | ||
"Storable" => 0, | ||
"Template" => "2.22", | ||
"perl" => "v5.10.1" | ||
}, | ||
"test_requires" => { | ||
"Test::Exception" => "0.32", | ||
"Test::More" => "0.88" | ||
} | ||
); | ||
|
||
|
||
my %fallback_build_requires = ( | ||
"Module::Build" => "0.28", | ||
"Test::Exception" => "0.32", | ||
"Test::More" => "0.88" | ||
); | ||
|
||
|
||
unless ( eval { Module::Build->VERSION(0.4004) } ) { | ||
delete $module_build_args{test_requires}; | ||
$module_build_args{build_requires} = \%fallback_build_requires; | ||
} | ||
|
||
my $build = Module::Build->new(%module_build_args); | ||
|
||
|
||
$build->create_build_script; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
name=Catmandu-Template | ||
[@Milla] | ||
installer = ModuleBuild |