travisjs

travis cli helper for managing node modules

travisjs

Mac / LinuxWindows

Travisjs is a command line application for travis, especially targeted for managing tests for node modules. It is inspired by travisify and git-travis (which is uses internally).

Install with npm install travisjs -g

Usage: travisjs <command>
 
command
  version    display the current version
  init       initialize travis (hook and yml)
  badge      generate badge
  open       open travis page
  yml        creates a .travis.yml
  hook       set up hook for this repo
  status     shows the status of the tests
  config     shows the location of the config file
  lint       validate your .travis.yml

Travisjs config file location can be shown with travisjs config.

It can have a couple of properties:

PropertyDescription
tokenAccess token — you don't want to touch this.
node_jsNode.js versions to include in generated .travis.yml file.

Example config file:

token: xxx
node_js:
  - '0.10'
  - '0.12'
  - iojs