Merge pull request #2179 from vjeux/fix_flow
Install flow from npm/flow-bin instead of brew
This commit is contained in:
commit
b10a1549c6
|
@ -10,7 +10,8 @@ cache:
|
||||||
before_install:
|
before_install:
|
||||||
- brew update
|
- brew update
|
||||||
install:
|
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
|
- mkdir -p .nvm
|
||||||
- cp $(brew --prefix nvm)/nvm-exec .nvm/
|
- cp $(brew --prefix nvm)/nvm-exec .nvm/
|
||||||
- export NVM_DIR=.nvm
|
- export NVM_DIR=.nvm
|
||||||
|
|
Loading…
Reference in New Issue