Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bukinoshita/travis-init
Add TravisCI to your project
https://github.com/bukinoshita/travis-init
continuous-integration init nodejs travis-ci
Last synced: 23 days ago
JSON representation
Add TravisCI to your project
- Host: GitHub
- URL: https://github.com/bukinoshita/travis-init
- Owner: bukinoshita
- License: mit
- Created: 2017-03-03T17:00:54.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:23:26.000Z (about 2 years ago)
- Last Synced: 2024-05-02T00:03:02.965Z (9 months ago)
- Topics: continuous-integration, init, nodejs, travis-ci
- Language: JavaScript
- Homepage:
- Size: 391 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# travis-init
> Add TravisCI to your project
[![Build Status](https://travis-ci.org/bukinoshita/travis-init.svg?branch=master)](https://travis-ci.org/bukinoshita/travis-init)
## Install
```bash
$ npm install --save travis-init
```## Usage
```js
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`
Required#### 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 releaseRequired
## License
[MIT](https://github.com/bukinoshita/travis-init/blob/master/LICENSE) © Bu Kinoshita