0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Travis: Upgrade Node.js from v5 to v6 (#19980)

v6 is the current stable version and will be an LTS version.
v5 is not an LTS version.

Refs https://github.com/nodejs/LTS
This commit is contained in:
Chris Rebert 2016-05-28 13:39:40 -07:00
parent 4bca0f878a
commit 680cb317ed

View File

@ -5,7 +5,7 @@ git:
depth: 10
node_js:
- "4"
- "5"
- "6"
before_install:
# Remove ./node_modules/.bin from PATH so node-which doesn't replace Unix which and cause RVM to barf. See https://github.com/travis-ci/travis-ci/issues/5092
- export PATH=$(python -c 'from sys import argv;from collections import OrderedDict as od;print(":".join(od((p,None) for p in argv[1].split(":") if p.startswith("/")).keys()))' "$PATH")