1.0.0 • Published 9 years ago
travisci-node-update v1.0.0
travisci-node-update
Updates each target Node version in Travis CI config to latest minor version.
This node module updates your Travis CI config file .travis.yml ensuring you're always running tests against the latest available minor versions for each of the listed major versions.
Install
npm install -g travisci-node-updateUsage
Invoke the travisci-node-update command on the desired target directory (defaults to .).
travisci-node-update [target_dir]Example
At the moment of writing, latest Node versions are 7.3.0, 6.9.2, 5.12.0, and 4.7.0.
# .travis.yml before
language: node_js
node_js:
- "7.2"
- "6.9"
- "5.12"
- "4.6"
script: npm run testThis will update the versions listed in .travis.yml to 7.3 and 4.7, leaving 6.9 and 5.12 untouched:
travisci-node-update .# .travis.yml after
language: node_js
node_js:
- "7.3"
- "6.9"
- "5.12"
- "4.7"
script: npm run testLicense
Copyright (c) 2017 Claudio Procida
1.0.0
9 years ago