This commit is contained in:
Jack Robison 2018-09-26 15:54:40 -04:00
parent f9cba69d03
commit dc6d803fed
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -62,11 +62,12 @@ jobs:
- docker pull cdrx/pyinstaller-windows:python3-32bit - docker pull cdrx/pyinstaller-windows:python3-32bit
script: script:
- docker run -v "$(pwd):/src/lbry" cdrx/pyinstaller-windows:python3-32bit lbry/scripts/wine_build.sh - docker run -v "$(pwd):/src/lbry" cdrx/pyinstaller-windows:python3-32bit lbry/scripts/wine_build.sh
- zip dist/lbrynet-${TRAVIS_TAG}-${OS}.zip dist/lbrynet.exe
addons: addons:
artifacts: artifacts:
working_dir: dist working_dir: dist
paths: paths:
- lbrynet.exe - lbrynet-${TRAVIS_TAG}-${OS}.zip
target_paths: target_paths:
- /daemon/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}_branch-${TRAVIS_BRANCH}$([ ! -z ${TRAVIS_TAG} ] && echo _tag-${TRAVIS_TAG})/win/ - /daemon/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}_branch-${TRAVIS_BRANCH}$([ ! -z ${TRAVIS_TAG} ] && echo _tag-${TRAVIS_TAG})/win/
@ -80,13 +81,15 @@ jobs:
- pip3 install -e . - pip3 install -e .
script: script:
- pyinstaller -F -n lbrynet lbrynet/cli.py - pyinstaller -F -n lbrynet lbrynet/cli.py
- chmod +x dist/lbrynet
- zip dist/lbrynet-${TRAVIS_TAG}-${OS}.zip dist/lbrynet
- ./dist/lbrynet --version - ./dist/lbrynet --version
env: OS=linux env: OS=linux
addons: addons:
artifacts: artifacts:
working_dir: dist working_dir: dist
paths: paths:
- lbrynet - lbrynet-${TRAVIS_TAG}-${OS}.zip
# artifact uploader thinks lbrynet is a directory, https://github.com/travis-ci/artifacts/issues/78 # artifact uploader thinks lbrynet is a directory, https://github.com/travis-ci/artifacts/issues/78
target_paths: target_paths:
- /daemon/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}_branch-${TRAVIS_BRANCH}$([ ! -z ${TRAVIS_TAG} ] && echo _tag-${TRAVIS_TAG})/${OS}/lbrynet - /daemon/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}_branch-${TRAVIS_BRANCH}$([ ! -z ${TRAVIS_TAG} ] && echo _tag-${TRAVIS_TAG})/${OS}/lbrynet