This commit is contained in:
Jack Robison 2018-09-26 17:20:24 -04:00
parent 5813df74a5
commit 1a9f81ea14
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -62,12 +62,12 @@ jobs:
- docker pull cdrx/pyinstaller-windows:python3-32bit
script:
- 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
- zip dist/lbrynet-${OS}.zip dist/lbrynet.exe
addons:
artifacts:
working_dir: dist
paths:
- lbrynet-${TRAVIS_TAG:-${TRAVIS_COMMIT:0:7}}-${OS}.zip
- lbrynet-${OS}.zip
target_paths:
- /daemon/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}_branch-${TRAVIS_BRANCH}$([ ! -z ${TRAVIS_TAG} ] && echo _tag-${TRAVIS_TAG})/win/
@ -82,14 +82,14 @@ jobs:
script:
- pyinstaller -F -n lbrynet lbrynet/cli.py
- chmod +x dist/lbrynet
- zip dist/lbrynet-${TRAVIS_TAG}-${OS}.zip dist/lbrynet
- zip dist/lbrynet-${OS}.zip dist/lbrynet
- ./dist/lbrynet --version
env: OS=linux
addons:
artifacts:
working_dir: dist
paths:
- lbrynet-${TRAVIS_TAG:-${TRAVIS_COMMIT:0:7}}-${OS}.zip
- lbrynet-${OS}.zip
# artifact uploader thinks lbrynet is a directory, https://github.com/travis-ci/artifacts/issues/78
target_paths:
- /daemon/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}_branch-${TRAVIS_BRANCH}$([ ! -z ${TRAVIS_TAG} ] && echo _tag-${TRAVIS_TAG})/${OS}/lbrynet