NAME

Dist::Zilla::Plugin::TravisCI - Integrating the generation of .travis.yml into your dzil

VERSION

version 0.014

SYNOPSIS

[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

DESCRIPTION

Adds a .travis.yml to your repository on build or release.

BASED ON

This plugin is based on code of Dist::Zilla::TravisCI.

EVENTS

This module provides an event to allow modifying the travis_yml data structure prior to writing it to file.

modify_travis_yml

This event can be hooked with [Beam::Connector] in order to allow 3rd party plugins to modify the YAML data.

; 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.

sub event_hander {
  my ( $self , $event ) = @_;
  push @{ $event->travis_yml->{env} }, 'AUTHOR_TESTING=1';
}

See [Beam::Connector] for details.

SUPPORT

IRC

Join #distzilla on irc.perl.org. Highlight Getty for fast reaction :).

Repository

https://github.com/Getty/p5-dist-zilla-plugin-travisci
Pull request and additional contributors are welcome

Issue Tracker

https://github.com/Getty/p5-dist-zilla-plugin-travisci/issues

AUTHOR

Torsten Raudssus <torsten@raudss.us> https://raudss.us/

COPYRIGHT AND LICENSE

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.