From 2693301ad02d8680cb7a2d579ceaa193002277d7 Mon Sep 17 00:00:00 2001 From: hackrush Date: Tue, 4 Dec 2018 15:04:57 +0530 Subject: [PATCH] Fix python and pip3 not available in xcode8 --- .travis.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index ebbf03c78..03418fd26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -90,17 +90,19 @@ jobs: language: generic env: OS=mac cache: false - install: - #- brew update + before_install: + - brew update - brew upgrade python - - python --version - - pip --version - - pip install pyinstaller + - brew postinstall python + install: + - python3 --version + - pip3 --version + - pip3 install pyinstaller - git clone https://github.com/lbryio/torba.git --depth 1 - sed -i -e "s/'plyvel',//" torba/setup.py - - cd torba && pip install -e . && cd .. - - python scripts/set_build.py - - pip install -e . + - cd torba && pip3 install -e . && cd .. + - python3 scripts/set_build.py + - pip3 install -e . cache: directories: