0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Travis: Don't install npm@5 when the current npm is newer.

This commit is contained in:
XhmikosR 2018-09-15 14:57:59 +03:00
parent 8cd485fcc8
commit 3d17e3a93a

View File

@ -9,7 +9,7 @@ node_js:
- "6"
- "8"
before_install:
- if [[ `npm -v` != 5* ]]; then npm install -g npm@5; fi
- if [[ $(npm -v | cut -d. -f1) -lt "5" ]]; then npm install -g npm@5; fi
install:
- bundle install --deployment --jobs=3 --retry=3
- npm install