renovate/test
Rhys Arkins b8dadb718d
feat: travis.yml node_js versions support (#1243)
This PR adds support for renovating the `node_js` versions in `.travis.yml` configuration files. Important notes:
- Functionality is disabled by default and hence opt-in via configuration
- Added a new manager type `node` because it is anticipated to support more than just Travis in future, with mostly unified logic
- Added the config option "policy" with supported values: lts, active, current, lts_latest and lts_active
- Policy is actually an array, to allow additive combining, e.g. `["lts_latest", "current"]`
- Actual node versions are *hardcoded*. There is no perfect metadata source for this and they change infrequently enough that it is definitely not a problem for now (next change will be in April 2018)
- If node versions need updating, they are listed from newest to oldest
- Replacing function attempts to detect the indention (spacing) in file and use that

To enable, configure `node.enabled=true` and optionally `node.policy=["<policy>"]` if you want something other than `lts`.

Closes #1208
2017-12-05 07:50:16 +01:00
..
_fixtures feat: travis.yml node_js versions support (#1243) 2017-12-05 07:50:16 +01:00
config refactor: add extends config massage (#1256) 2017-12-01 07:16:17 +01:00
logger fix: refactor logger addStream and depType logging (#1117) 2017-11-08 09:59:32 +01:00
manager feat: travis.yml node_js versions support (#1243) 2017-12-05 07:50:16 +01:00
platform fix: VSTS - add reviewer once even if multiple teams (#1259) 2017-12-02 20:22:03 +01:00
workers feat: travis.yml node_js versions support (#1243) 2017-12-05 07:50:16 +01:00
.eslintrc.js refactor: remove config.api and use platform dispatcher (#1114) 2017-11-07 11:46:10 +01:00
chai.js Refactor config 2017-01-20 14:03:18 +01:00
globals.js refactor: use global logger (#1116) 2017-11-08 06:44:03 +01:00
renovate.spec.js refactor: use platform global (#1115) 2017-11-07 13:31:34 +01:00