Added travis.yml and podweaver

master
Torsten Raudssus 2013-04-25 19:50:41 +02:00
parent 1dfad2110c
commit c3cd25488f
3 changed files with 51 additions and 0 deletions

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
language: perl
perl:
- "5.16"
- "5.14"
- "5.12"
- "5.10"
before_install:
# Prevent "Please tell me who you are" errors for certain DZIL configs
- git config --global user.name "TravisCI"
- git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"
install:
# Deal with all of the DZIL dependancies, quickly and quietly
- cpanm --quiet --notest --skip-satisfied Dist::Zilla
- dzil authordeps | grep -vP '[^\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest --skip-satisfied
- export AUTOMATED_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
- dzil listdeps | grep -vP '[^\w:]' | cpanm --verbose
script:
- dzil smoke --release --author

View File

@ -79,3 +79,6 @@ version_regexp = ^(.+)$
trailing_whitespace = 0
[@Git]
tag_format = %v
[PodWeaver]
[TravisYML]

28
weaver.ini Normal file
View File

@ -0,0 +1,28 @@
[@CorePrep]
[Name]
[Version]
[Region / prelude]
[Generic / SYNOPSIS]
[Generic / DESCRIPTION]
[Generic / OVERVIEW]
[Collect / EXPORTS FUNCTIONS]
command = keyword
[Collect / ATTRIBUTES]
command = attr
[Collect / METHODS]
command = method
[Leftovers]
[Region / postlude]
[Authors]
[Legal]