0.0.1 • Published 7 years ago

travis-init v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

travis-init

Add TravisCI to your project

Build Status

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 release
  • iojs - latest stable io.js release
  • 7 - latest 7.x release
  • 6 - latest 6.x release
  • 5 - latest 5.x release
  • 4 - latest 4.x release

Optional

License

MIT © Bu Kinoshita