mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Merge branch 'fix-build-and-vlc' into 'master'
fix CI, makebuildserver, and VLC build See merge request !204
This commit is contained in:
commit
70c347264c
4 changed files with 12 additions and 2 deletions
|
@ -3,6 +3,8 @@ image: fdroid/ci:server-20161223
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- mkdir -p /usr/lib/python3.4/site-packages/
|
- mkdir -p /usr/lib/python3.4/site-packages/
|
||||||
|
# workaround https://github.com/pypa/setuptools/issues/937
|
||||||
|
- pip3 install setuptools==33.1.1
|
||||||
- pip3 install -e .
|
- pip3 install -e .
|
||||||
- cd tests
|
- cd tests
|
||||||
- ./complete-ci-tests
|
- ./complete-ci-tests
|
||||||
|
|
|
@ -32,12 +32,13 @@ packages="
|
||||||
ant-contrib
|
ant-contrib
|
||||||
autoconf
|
autoconf
|
||||||
autoconf2.13
|
autoconf2.13
|
||||||
automake
|
automake/testing
|
||||||
automake1.11
|
automake1.11
|
||||||
autopoint
|
autopoint
|
||||||
bison
|
bison
|
||||||
bzr
|
bzr
|
||||||
cmake
|
ca-certificates-java/jessie-backports
|
||||||
|
cmake/jessie-backports
|
||||||
curl
|
curl
|
||||||
expect
|
expect
|
||||||
faketime
|
faketime
|
||||||
|
@ -68,6 +69,7 @@ packages="
|
||||||
mercurial
|
mercurial
|
||||||
nasm
|
nasm
|
||||||
nodejs
|
nodejs
|
||||||
|
openjdk-8-jre-headless
|
||||||
openjdk-8-jdk-headless
|
openjdk-8-jdk-headless
|
||||||
optipng
|
optipng
|
||||||
p7zip
|
p7zip
|
||||||
|
|
|
@ -71,3 +71,5 @@ echo "build_server_always = True" > config.py
|
||||||
../fdroid build --verbose --stop info.guardianproject.checkey:101
|
../fdroid build --verbose --stop info.guardianproject.checkey:101
|
||||||
# building old versions should still work
|
# building old versions should still work
|
||||||
../fdroid build --verbose --stop org.fdroid.fdroid:96150
|
../fdroid build --verbose --stop org.fdroid.fdroid:96150
|
||||||
|
# VLC is important, and uses cmake
|
||||||
|
../fdroid build --verbose --stop org.videolan.vlc:12000604
|
||||||
|
|
|
@ -56,6 +56,8 @@ python3 setup.py sdist
|
||||||
rm -rf $WORKSPACE/env
|
rm -rf $WORKSPACE/env
|
||||||
pyvenv $WORKSPACE/env
|
pyvenv $WORKSPACE/env
|
||||||
. $WORKSPACE/env/bin/activate
|
. $WORKSPACE/env/bin/activate
|
||||||
|
# workaround https://github.com/pypa/setuptools/issues/937
|
||||||
|
pip3 install setuptools==33.1.1
|
||||||
pip3 install dist/fdroidserver-*.tar.gz
|
pip3 install dist/fdroidserver-*.tar.gz
|
||||||
|
|
||||||
# run tests in new pip+pyvenv install
|
# run tests in new pip+pyvenv install
|
||||||
|
@ -68,6 +70,8 @@ cd $WORKSPACE
|
||||||
rm -rf $WORKSPACE/env
|
rm -rf $WORKSPACE/env
|
||||||
pyvenv $WORKSPACE/env
|
pyvenv $WORKSPACE/env
|
||||||
. $WORKSPACE/env/bin/activate
|
. $WORKSPACE/env/bin/activate
|
||||||
|
# workaround https://github.com/pypa/setuptools/issues/937
|
||||||
|
pip3 install setuptools==33.1.1
|
||||||
pip3 install -e $WORKSPACE
|
pip3 install -e $WORKSPACE
|
||||||
python3 setup.py install
|
python3 setup.py install
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue