sync-travis

0.1.1 • Public • Published

sync-travis NPM version Build Status

Sync your Github projects with Travis CI, to ensure it's updated with your latest projects before executing other commands.

Install globally with npm:

npm i -g sync-travis

Related

Usage

CLI

From the command line:

sync-travis

Next, you will be prompted to enter your github username and password:

Please provide your github username and password:
(answers are never stored):
 
? username: jonschlinkert
? password: ********

Done! It will attempt to fill in default answers using the git-remote-origin URL, the git username, and package.json project name. But you can override these as necessary.

Let me know if you have any issues or feature requests!

API

To use programmatically in your node.js application.

Install with npm

npm i sync-travis --save
var sync = require('sync-travis');
 
var auth = {username: '', password: ''};
sync('foo/bar', auth, function (err, res) {
  console.log(res);
  //=> { result: true }
});

Run tests

Install dev dependencies.

npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb-cli on March 04, 2015.

Package Sidebar

Install

npm i sync-travis

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • doowb
  • jonschlinkert