fix travis config with Dist-Zilla

This commit is contained in:
2015-04-11 17:13:36 +01:00
parent 052bf86c9e
commit c56be1a450
4 changed files with 37 additions and 6 deletions

3
.mailmap Normal file
View File

@@ -0,0 +1,3 @@
Dinis Lage <dlage@cpan.org> <dinislage@senolage.com> <dinis@lage.pw>
Dinis Lage <dlage@cpan.org> <dinis@lage.pw>
Dinis Lage <dlage@cpan.org> <dlage@users.noreply.github.com>

View File

@@ -1,8 +1,25 @@
sudo: false
language: perl
perl:
- '5.20'
- '5.18'
- '5.16'
- '5.14'
- '5.12'
- '5.8'
- 'blead'
- '5.20'
- '5.18'
- '5.16'
- '5.14'
- '5.12'
- '5.10'
- '5.8'
matrix:
allow_failures:
- perl: 'blead'
- perl: '5.8'
fast_finish: true
before_install:
- git config --global user.name "TravisCI"
- git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"
install:
- cpanm --quiet --notest --skip-satisfied Dist::Zilla
- "dzil authordeps --missing | grep -vP '[^\\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest"
- "dzil listdeps --author --missing | grep -vP '[^\\w:]' | cpanm --verbose"
script:
- dzil smoke --release --author

View File

@@ -6,6 +6,7 @@ copyright_holder = Dinis Lage
main_module = lib/File/Assets/Precompile.pm
[Prereqs]
[TravisYML]
Carp = 0
Log::Log4perl = 0
File::MMagic = 0
@@ -13,8 +14,17 @@ Path::Class = 0
JavaScript::Minifier::XS = 0
CSS::Minifier::XS = 0
[Git::CommitBuild]
release_branch = build/%b
release_message = Release build of v%v (on %b)
[@Basic]
[Test::Perl::Critic]
[PodCoverageTests]
[PodSyntaxTests]
[@Git]
allow_dirty = dist.ini
allow_dirty = README
allow_dirty = .travis.yml
push_to = origin
push_to = origin build/master:build/master

View File

@@ -541,4 +541,5 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
=cut
__PACKAGE__->meta->make_immutable;
1; # End of File::Assets::Precompile