Package Exports
- generator-travis/generators/app
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (generator-travis) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
generator-travis
Get up-to-date travis config
You will get up-do-date travis config and will not loose existing config.
Up to date config contains current node versions: stable (v4), 0.12 and 0.10.
Install
npm install --global yo generator-travis
Usage
yo travis
NodeJS versions in the config
Every LTS-supported versions are included. Once version version become LTS-unsuported it will be removed from this config and generator will get minor version update.
- NodeJS v0.10 will be removed October 1, 2016.
- NodeJS v0.12 will be removed April 1, 2017.
- NodeJS v4.2.0 will be removed April 1, 2018.
More about NodeJS Long-term Support you can read in NodeJS/LTS repo.
Composability
Composability is a way to combine smaller parts to make one large thing. Sort of like Voltron ®
— Yeoman docs
Just plug in travis into your generator and forget about keeping travis configs up to date. This package will do it for you and your generator’s consumers. Everybody wins.
Add it to your generator
npm install --save generator-travis
Compose it
this.composeWith('travis', {}, {
local: require.resolve('generator-travis/generators/app')
});
If you want somehow extend default config, define you extra fields to config
field.
this.composeWith('travis', { options: {
config: { after_script: ['npm run coveralls'] }
}}, {
local: require.resolve('generator-travis/generators/app')
});
License
MIT © Vladimir Starkov