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 #8 from paultcochrane/pr/add-travis-config
Add Travis-CI configuration file
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
sudo: false | ||
|
||
language: perl | ||
|
||
perl: | ||
- "5.20" | ||
- "5.18" | ||
- "5.16" | ||
- "5.14" | ||
- "5.12" | ||
- "5.10" | ||
|
||
install: | ||
- cpanm Dist::Zilla | ||
- dzil authordeps --missing | cpanm -n | ||
- dzil listdeps --missing | cpanm -n | ||
|
||
script: | ||
# work around an issue with the Git::CommitBuild Dist::Zilla plugin, | ||
# which requires the git user to be configured on the Travis infrastructure | ||
- git config --global user.email "fakeapache1@example.com" | ||
- git config --global user.name "Plack App FakeApache1" | ||
# install an implicit dependency of the PodCoverageTests plugin | ||
- cpanm -n Pod::Coverage::TrustPod | ||
# to be implemented once the --author and --release tests pass | ||
#- dzil test --author --release | ||
- dzil test --noauthor |