mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 17:26:34 +00:00
chore: speed up nvm installation on Travis CI
You don't need to have the whole commit history of `nvm`, let's speed up the clone process.
This commit is contained in:
parent
f595f4ad04
commit
d028ed9f6c
@ -23,7 +23,7 @@ os:
|
|||||||
before_install:
|
before_install:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
rm -rf ~/.nvm;
|
rm -rf ~/.nvm;
|
||||||
git clone https://github.com/creationix/nvm.git ~/.nvm;
|
git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm;
|
||||||
source ~/.nvm/nvm.sh;
|
source ~/.nvm/nvm.sh;
|
||||||
nvm --version;
|
nvm --version;
|
||||||
nvm install $NODE_VERSION;
|
nvm install $NODE_VERSION;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user