1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

gitlab-ci: switch debian_testing to use androguard

This commit is contained in:
Hans-Christoph Steiner 2018-02-16 14:25:47 +01:00
parent 008110889a
commit 9f553186e8

View File

@ -46,15 +46,13 @@ debian_testing:
- apt update -y - apt update -y
- apt dist-upgrade -y - apt dist-upgrade -y
- apt-get install -y --no-install-recommends - apt-get install -y --no-install-recommends
aapt adb android-platform-tools-base android-sdk-common fdroidserver aapt adb androguard android-platform-tools-base android-sdk-common fdroidserver
git gnupg python3-setuptools zipalign git gnupg python3-setuptools zipalign
- python3 -c 'import fdroidserver'
- python3 -c 'import androguard'
- export ANDROID_HOME=/usr/lib/android-sdk - export ANDROID_HOME=/usr/lib/android-sdk
- export LANG=C.UTF-8 - export LANG=C.UTF-8
- cd tests - cd tests
- rm -f install.TestCase # fails frequently and is unimportant
- echo "Debian's build-tools is too old, remove once the package has been updated"
- sed -i '/android.permission.READ_EXTERNAL_STORAGE/d' repo/index.xml
- sed -i '/^diff -uw .*index-v1.json$/d' run-tests
- ./run-tests - ./run-tests
ubuntu_lts: ubuntu_lts: