clinton icon indicating copy to clipboard operation
clinton copied to clipboard

Map lts versions to semver in travis rule

Open SamVerschueren opened this issue 8 years ago • 0 comments

We now also support the nvm aliases lts/argon (Node.js 4) and lts/boron (Node.js 6). Currently the travis rule does not prevent something like this.

{
    "name": "my-module",
    "engines": {
        "node": ">=6"
    }
}
language: node_js
node_js:
  - lts/boron
  - lts/argon

The rule should fail indicating that lts/argon is not supported. This can be done by mapping these aliases their semantic version equivalent and work from that.

SamVerschueren avatar Feb 02 '17 17:02 SamVerschueren