diff --git a/.travis.yml b/.travis.yml index 4d4f838a380902..ef98e55b811c16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,7 @@ install: - rm -Rf `node -p "require('os').tmpDir()"`/jest_preprocess_cache - npm install -g flow-bin@`node -p "require('fs').readFileSync('.flowconfig', 'utf8').split('[version]')[1].trim()"` - mkdir -p .nvm - - cp $(brew --prefix nvm)/nvm-exec .nvm/ - - export NVM_DIR=.nvm + - export NVM_DIR="$PWD/.nvm" - source $(brew --prefix nvm)/nvm.sh - nvm install iojs-v2 - nvm use iojs-v2