Fix missing react-native-cli tools for build #128

Merged
akinwale merged 8 commits from fix-build into master 2018-05-15 19:59:05 +02:00
Showing only changes of commit e8867b2483 - Show all commits

View file

@ -14,13 +14,13 @@ install:
- sudo pip install --upgrade cython==0.25.2 pip setuptools - sudo pip install --upgrade cython==0.25.2 pip setuptools
- wget https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz - wget https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz
- tar -xf node-v8.11.1-linux-x64.tar.xz - tar -xf node-v8.11.1-linux-x64.tar.xz
- sudo ln -s ~/node-v8.11.1-linux-x64/bin/node /usr/bin/node - sudo ln -s $TRAVIS_BUILD_DIR/node-v8.11.1-linux-x64/bin/node /usr/bin/node
- sudo ln -s ~/node-v8.11.1-linux-x64/bin/npm /usr/bin/npm - sudo ln -s $TRAVIS_BUILD_DIR/node-v8.11.1-linux-x64/bin/npm /usr/bin/npm
- git clone https://github.com/lbryio/buildozer.git - git clone https://github.com/lbryio/buildozer.git
- cd app - cd app
- npm config set registry="http://registry.npmjs.org/" - npm config set registry="http://registry.npmjs.org/"
- npm install - npm install
- sudo ~/node-v8.11.1-linux-x64/bin/npm install -g react-native-cli - npm install -g react-native-cli
- cd .. - cd ..
- cd buildozer - cd buildozer
- sudo python setup.py install - sudo python setup.py install