git-hub-travis

travis plugin for git-hub

Stars
6

=pod

=for comment DO NOT EDIT. This Pod was generated by Swim. See http://github.com/ingydotnet/swim-pm#readme

=encoding utf8

=head1 Name

git-hub-travis - Enable/Disable travis

=for html

=head1 Synopsis

git hub travis-enable [<repo>]  # Enables travis integration
git hub travis-disable [<repo>] # Disables travis integration

=head1 Description

this git-hub plugin will let you enable/disable Travis continuous integration testing for any GitHub repository, from the command line.

=head1 Installation

get the source code from GitHub:

git clone [email protected]:carloslima/git-hub-travis

Then run:

make test
make install        # Possibly with 'sudo'

=head1 Configuration

Travis needs an API token. iYour default git-hub token should be fine. Learn about the various tokens here: L<http://about.travis-ci.org/blog/2013-01-28-token-token- token/>

If you want to use a differnt token look in one of these:

=over

=item * Lhttps://travis-ci.org/profile/ under the profile tab.

=item * C

=back

Then set your token of choice in one of these ways:

=over

=item * Set the TRAVIS_CI_API_TOKEN environment variable.

=item * C<< git hub config travis-api-token >>

=back

If neither is set, it will default to your C.

=head1 Commands

There are two C commands:

=over

=item C<< git hub travis-enable [/] >>

Turn travis on for a repository.

=item C<< git hub travis-disable [/] >>

Turn travis off for a repository. This command actually deletes the hook entirely (rather than just deactivating it).

=back

=head1 Author

Written by Carlos Lima [email protected]

=head1 Copyright

Copyright 2013-2014 Carlos Lima

=cut