mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 22:16:38 +02:00
Travis: Don't install npm@5 when the current npm is newer.
This commit is contained in:
@@ -9,7 +9,7 @@ node_js:
|
|||||||
- "6"
|
- "6"
|
||||||
- "8"
|
- "8"
|
||||||
before_install:
|
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:
|
install:
|
||||||
- bundle install --deployment --jobs=3 --retry=3
|
- bundle install --deployment --jobs=3 --retry=3
|
||||||
- npm install
|
- npm install
|
||||||
|
Reference in New Issue
Block a user