Skip to content

Commit

Permalink
Travis configuration updated to support Dist::Zilla
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbn committed Aug 15, 2015
1 parent 4158aae commit 9fe75bd
Showing 1 changed file with 48 additions and 1 deletion.
49 changes: 48 additions & 1 deletion .travis.yml
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

0 comments on commit 9fe75bd

Please sign in to comment.