diff options
| author | XhmikosR <[email protected]> | 2018-09-15 14:57:59 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-09-16 01:52:14 +0300 |
| commit | 3d17e3a93a50898200cc501f336158092c17a944 (patch) | |
| tree | 26a209f871713867d53084ffb384812c43c6023c | |
| parent | 8cd485fcc8b22fae6904626c55e8c36d92dbd260 (diff) | |
| download | bootstrap-3d17e3a93a50898200cc501f336158092c17a944.tar.xz bootstrap-3d17e3a93a50898200cc501f336158092c17a944.zip | |
Travis: Don't install npm@5 when the current npm is newer.
| -rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index d4a73d026..85ad14526 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 |
