2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03: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
+1 -1
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