From daebd41af7b2827637c9ec1dc0e374056ad82cbf Mon Sep 17 00:00:00 2001 From: El RIDO Date: Tue, 2 Jan 2018 07:19:07 +0100 Subject: [PATCH] correcting syntax of npm install --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 689c57b8..98dfaaeb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ php: # as this is a php project, node.js v4 (for JS unit testing) isn't installed install: - - '[ ! -d "$HOME/.nvm" ] && mkdir -p $HOME/.nvm && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | NVM_METHOD=script bash' + - if [ ! -d "$HOME/.nvm" ]; then mkdir -p $HOME/.nvm && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | NVM_METHOD=script bash; fi - source ~/.nvm/nvm.sh && nvm install 4 before_script: