-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis configuration updated to support Dist::Zilla
- Loading branch information
Showing
1 changed file
with
48 additions
and
1 deletion.
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,8 +1,55 @@ | ||
sudo: false | ||
language: perl | ||
perl: | ||
- "5.20" | ||
- "5.18" | ||
- "5.16" | ||
- "5.14" | ||
- "5.12" | ||
- "5.10" | ||
- "5.10" | ||
|
||
before_install: | ||
|
||
# Prevent "Please tell me who you are" errors for certain DZIL configs | ||
|
||
- git config --global user.name "TravisCI" | ||
|
||
install: | ||
|
||
# Deal with all of the DZIL dependencies, quickly and quietly | ||
|
||
- cpanm --quiet --notest --skip-satisfied Dist::Zilla | ||
|
||
# Hack to getting the latest Test::Kwalitee | ||
|
||
- cpanm --quiet --notest Test::Kwalitee | ||
|
||
# Getting coveralls report | ||
|
||
- cpanm --quiet --notest Devel::Cover::Report::Coveralls | ||
|
||
# Getting cover command for Dist::Zilla | ||
|
||
- cpanm --quiet --notest Dist::Zilla::App::Command::cover | ||
|
||
# Getting all the plugins used by Dist::Zilla in this particular setup | ||
|
||
- dzil authordeps | grep -vP '[^\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest --skip-satisfied | ||
|
||
# Getting all the dependencies requested by author | ||
|
||
- dzil listdeps --author | cpanm --quiet --notest --skip-satisfied | ||
|
||
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1 | ||
|
||
# Getting all the dependencies requested by distribution | ||
|
||
- dzil listdeps | grep -vP '[^\w:]' | cpanm --quiet --notest --skip-satisfied | ||
|
||
script: | ||
|
||
- dzil smoke --release --author | ||
|
||
after_success: | ||
|
||
- dzil cover -outputdir cover_db -report coveralls |