renovate/test/workers
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
..
branch feat: copy local packages (#1244) 2017-11-30 06:43:56 +01:00
dep-type feat: travis.yml node_js versions support (#1243) 2017-12-05 07:50:16 +01:00
global feat: install npm as dependency (#808) 2017-09-14 18:24:14 +02:00
package feat: travis.yml node_js versions support (#1243) 2017-12-05 07:50:16 +01:00
package-file feat: travis.yml node_js versions support (#1243) 2017-12-05 07:50:16 +01:00
pr fix: do not delete branches if PR creation fails (#1252) 2017-11-28 17:11:52 +01:00
repository feat: travis.yml node_js versions support (#1243) 2017-12-05 07:50:16 +01:00