linux build added and uploading to S3
This commit is contained in:
parent
1c8a59c1a9
commit
2ceba79b9f
4 changed files with 29 additions and 8 deletions
30
.travis.yml
30
.travis.yml
|
@ -45,12 +45,34 @@ jobs:
|
||||||
name: "Windows"
|
name: "Windows"
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
before_install:
|
|
||||||
- docker pull cdrx/pyinstaller-windows:python3-32bit
|
|
||||||
install:
|
install:
|
||||||
- docker run -v "$(pwd):/src/lbry" cdrx/pyinstaller-windows:python3-32bit lbry/scripts/wine_build.sh
|
- docker pull cdrx/pyinstaller-windows:python3-32bit
|
||||||
script:
|
script:
|
||||||
- find dist/
|
- docker run -v "$(pwd):/src/lbry" cdrx/pyinstaller-windows:python3-32bit lbry/scripts/wine_build.sh
|
||||||
|
addons:
|
||||||
|
artifacts:
|
||||||
|
working_dir: dist
|
||||||
|
paths:
|
||||||
|
- lbry.exe
|
||||||
|
target_paths:
|
||||||
|
- /daemon/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}_branch-${TRAVIS_BRANCH}$([ ! -z ${TRAVIS_TAG} ] && echo _tag-${TRAVIS_TAG})/win
|
||||||
|
|
||||||
|
- name: "Linux"
|
||||||
|
install:
|
||||||
|
- pip install pyinstaller
|
||||||
|
- pip install git+https://github.com/lbryio/torba.git
|
||||||
|
- pip install git+https://github.com/lbryio/lbryschema.git
|
||||||
|
- pip install -e .
|
||||||
|
script:
|
||||||
|
- pyinstaller -F -n lbry lbrynet/cli.py
|
||||||
|
- ./dist/lbry --version
|
||||||
|
addons:
|
||||||
|
artifacts:
|
||||||
|
working_dir: dist
|
||||||
|
paths:
|
||||||
|
- lbry
|
||||||
|
target_paths:
|
||||||
|
- /daemon/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}_branch-${TRAVIS_BRANCH}$([ ! -z ${TRAVIS_TAG} ] && echo _tag-${TRAVIS_TAG})/linux
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
__version__ = "0.21.2"
|
__version__ = "0.30.0a"
|
||||||
version = tuple(__version__.split('.'))
|
version = tuple(__version__.split('.'))
|
||||||
|
|
||||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||||
|
|
|
@ -89,7 +89,6 @@ def main(argv):
|
||||||
print_help_for_command(args[0])
|
print_help_for_command(args[0])
|
||||||
else:
|
else:
|
||||||
print_help()
|
print_help()
|
||||||
return 0
|
|
||||||
|
|
||||||
elif method in ['version', '--version', '-v']:
|
elif method in ['version', '--version', '-v']:
|
||||||
print("@hackrush didn't implement this yet :-p")
|
print("@hackrush didn't implement this yet :-p")
|
||||||
|
|
|
@ -17,5 +17,5 @@ cd torba && pip install -e . && cd ..
|
||||||
|
|
||||||
cd lbry
|
cd lbry
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pyinstaller lbrynet/daemon/DaemonControl.py
|
pyinstaller -F -n lbry lbrynet/cli.py
|
||||||
wine dist/DaemonControl/DaemonControl.exe --version
|
wine dist/lbry.exe --version
|
||||||
|
|
Loading…
Add table
Reference in a new issue