mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-10-01 15:50:32 +00:00
fix torba version on travis
This commit is contained in:
parent
d90525eb75
commit
98f8dc7bf4
2 changed files with 12 additions and 2 deletions
|
@ -5,6 +5,7 @@ python: "3.7"
|
|||
|
||||
env:
|
||||
global:
|
||||
# must also be updated in wine_build.sh
|
||||
- TORBA=v0.5.3
|
||||
|
||||
jobs:
|
||||
|
@ -60,7 +61,7 @@ jobs:
|
|||
- docker pull lbry/pyinstaller34_32bits:py371
|
||||
script:
|
||||
- python scripts/set_build.py
|
||||
- docker run -v "$(pwd):/src/lbry" lbry/pyinstaller34_32bits:py371 lbry/scripts/wine_build.sh ${TORBA}
|
||||
- docker run -v "$(pwd):/src/lbry" lbry/pyinstaller34_32bits:py371 lbry/scripts/wine_build.sh
|
||||
- sudo zip -j dist/lbrynet-windows.zip dist/lbrynet.exe
|
||||
deploy:
|
||||
provider: releases
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
set -x
|
||||
# must also be updated in travis.yml
|
||||
TORBA_VERSION=v0.5.3
|
||||
rm -rf /tmp/.wine-*
|
||||
|
||||
apt-get -qq update
|
||||
apt-get -qq install -y git
|
||||
|
||||
pip install setuptools_scm
|
||||
|
||||
cd lbry
|
||||
|
@ -11,7 +14,13 @@ cd lbry
|
|||
wget -Onetifaces-0.10.7-cp37-cp37m-win32.whl https://ci.appveyor.com/api/buildjobs/6hworunifsymrhp2/artifacts/dist%2Fnetifaces-0.10.7-cp37-cp37m-win32.whl
|
||||
pip install netifaces-0.10.7-cp37-cp37m-win32.whl
|
||||
|
||||
pip install git+https://github.com/lbryio/torba.git@${1}#egg=torba
|
||||
git clone --depth=1 --single-branch --branch ${TORBA_VERSION} https://github.com/lbryio/torba.git
|
||||
cd torba
|
||||
pip install .
|
||||
cd ..
|
||||
rm -rf torba
|
||||
|
||||
pip show torba
|
||||
pip install -e .
|
||||
pip install pywin32
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue