Dist::Zilla::Plugin::TravisCI - Integrating the generation of .travis.yml into your dzil
version 0.012
[TravisCI] perl_version = 5.14 perl_version = 5.16 perl_version = 5.18 perl_version = 5.20 perl_version = 5.22 perl_version = 5.24 perl_version = 5.26 perl_version = 5.28 perl_version = 5.30 notify_email = other@email.then.default irc_template = %{branch}#%{build_number} by %{author}: %{message} (%{build_url}) requires = libdebian-package-dev extra_dep = Extra::Module env = KEY=VALUE script_env = SCRIPTKEY=SCRIPTONLY before_install = echo "After the installation of requirements before perl modules" install = echo "Replace our procedure to install the perl modules" after_install = echo "In the install phase after perl modules are installed" before_script = echo "Do something before the dzil smoke is called" script = echo "replace our call for dzil smoke" after_script = echo "another test script to run, probably?" after_success = echo "yeah!" after_failure = echo "Buh!! :(" verbose = 0 test_deps = 0 test_authordeps = 0 no_notify_email = 0 coveralls = 0 apt_package = libzmq1-dev
Adds a .travis.yml to your repository on build or release. This is a very early release, more features are planned and upcoming, including more documentation :).
This plugin is based on code of Dist::Zilla::TravisCI.
This module provides an event to allow modifying the travis_yml data structure prior to writing it to file.
travis_yml
modify_travis_yml
This event can be hooked with [Beam::Connector] in order to allow 3rd party plugins to modify the YAML data.
[Beam::Connector]
YAML
; Hook into another plugin from this on = plugin:TravisCI#modify_travis_yml => plugin:AuthorTweaks#tweak_travis ; Hook into an arbitrary class loaded by Beam container = inc/beam.yml on = plugin:TravisCI#modify_travis_yml => container:disttweaks#tweak_travis
The recieving method(s) will recieve a Dist::Zilla::Event::TravisCI::YML event to modify directly.
Dist::Zilla::Event::TravisCI::YML
sub event_hander { my ( $self , $event ) = @_; push @{ $event->travis_yml->{env} }, 'AUTHOR_TESTING=1'; }
See [Beam::Connector] for details.
IRC
Join #distzilla on irc.perl.org. Highlight Getty for fast reaction :).
Repository
http://github.com/Getty/p5-dist-zilla-plugin-travisci Pull request and additional contributors are welcome
Issue Tracker
http://github.com/Getty/p5-dist-zilla-plugin-travisci/issues
Torsten Raudssus <torsten@raudss.us> https://raudss.us/
This software is copyright (c) 2013 by Raudssus Social Software.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::TravisCI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::TravisCI
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::TravisCI
For more information on module installation, please visit the detailed CPAN module installation guide.