Merge pull request #2179 from vjeux/fix_flow

Install flow from npm/flow-bin instead of brew
This commit is contained in:
Christopher Chedeau 2015-07-30 13:39:22 -07:00
commit b10a1549c6
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ cache:
before_install:
- brew update
install:
- brew reinstall flow xctool nvm
- brew reinstall xctool nvm
- 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