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:
parent
8cd485fcc8
commit
3d17e3a93a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user