diff --git a/.travis.yml b/.travis.yml index f5c87609..7fc453a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,13 +14,13 @@ install: - 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 - 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 ~/node-v8.11.1-linux-x64/bin/npm /usr/bin/npm +- sudo ln -s $TRAVIS_BUILD_DIR/node-v8.11.1-linux-x64/bin/node /usr/bin/node +- 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 - cd app - npm config set registry="http://registry.npmjs.org/" - npm install -- sudo ~/node-v8.11.1-linux-x64/bin/npm install -g react-native-cli +- npm install -g react-native-cli - cd .. - cd buildozer - sudo python setup.py install