travis-init
v0.0.1
Published
Add TravisCI to your project
Downloads
4
Readme
travis-init
Add TravisCI to your project
Install
$ npm install --save travis-init
Usage
import travisInit from 'travis-init'
const opts = {language: 'node_js', versions: ['6', '4']}
travisInit(opts).then(res => console.log(res))
// => .travis.yml created
API
travisInit(options)
options
Type: object
Should contain language
and versions
language
Type: string
Options: for now we only support node_js
Optional
versions
Type: array
Options:
node
- latest stable Node.js releaseiojs
- latest stable io.js release7
- latest 7.x release6
- latest 6.x release5
- latest 5.x release4
- latest 4.x release
Optional
License
MIT © Bu Kinoshita