Skip to content

Commit

Permalink
Merge pull request facebook#2399 from ide/nvm
Browse files Browse the repository at this point in the history
[Travis] Put $PWD in front of nvm  (fixes npm install)
  • Loading branch information
vjeux committed Aug 21, 2015
2 parents ede5fa7 + f8f6817 commit 4b420cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b420cc

Please sign in to comment.