Travis: Don't install npm@5 when the current npm is newer.
This commit is contained in:
parent
8cd485fcc8
commit
3d17e3a93a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue