mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-23 17:27:25 +00:00
commit
a329dcd844
2 changed files with 7 additions and 3 deletions
|
@ -2,7 +2,7 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: trust
|
dist: trusty
|
||||||
# dh-virtualenv requires that we use the same python interpreter
|
# dh-virtualenv requires that we use the same python interpreter
|
||||||
# that comes with the system, so we don't want to use anything that
|
# that comes with the system, so we don't want to use anything that
|
||||||
# travis would try to set-up for us in python
|
# travis would try to set-up for us in python
|
||||||
|
|
|
@ -107,7 +107,7 @@ $SUDO pip install make-deb
|
||||||
#
|
#
|
||||||
# dpkg-buildpackage outputs its results into '..' so
|
# dpkg-buildpackage outputs its results into '..' so
|
||||||
# we need to move/clone lbry into the build directory
|
# we need to move/clone lbry into the build directory
|
||||||
if [ "$CLONE" == true]; then
|
if [ "$CLONE" == true ]; then
|
||||||
cp -a $SOURCE_DIR lbry
|
cp -a $SOURCE_DIR lbry
|
||||||
else
|
else
|
||||||
git clone https://github.com/lbryio/lbry.git
|
git clone https://github.com/lbryio/lbry.git
|
||||||
|
@ -165,6 +165,10 @@ ar r "$PACKAGE" debian-binary control.tar.gz data.tar.xz
|
||||||
|
|
||||||
# TODO: we can append to data.tar instead of extracting it all and recompressing
|
# TODO: we can append to data.tar instead of extracting it all and recompressing
|
||||||
|
|
||||||
if [[ -n "${TRAVIS_BUILD_DIR}" ]]; then
|
if [[ ! -z "${TRAVIS_BUILD_DIR+x}" ]]; then
|
||||||
|
# move it to a consistent place so that later it can be uploaded
|
||||||
|
# to the github releases page
|
||||||
mv "${PACKAGE}" "${TRAVIS_BUILD_DIR}/${PACKAGE}"
|
mv "${PACKAGE}" "${TRAVIS_BUILD_DIR}/${PACKAGE}"
|
||||||
|
# want to be able to check the size of the result in the log
|
||||||
|
ls -l "${TRAVIS_BUILD_DIR}/${PACKAGE}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue