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

gitlab-ci: make ubuntu_lts job test of fdroid/fdroidserver PPA

Now that androguard is working, there should be no need for a specific aapt
version.  The aapt included in Ubuntu LTS should always work fine when
androguard handles the bulk of the work.
This commit is contained in:
Hans-Christoph Steiner 2018-03-09 09:44:38 +01:00
parent 4fcf69a9ef
commit 02107cc5bc

View File

@ -57,6 +57,7 @@ debian_testing:
- cd tests - cd tests
- ./run-tests - ./run-tests
# test using LTS set up with the PPA, including Recommends
ubuntu_lts: ubuntu_lts:
image: ubuntu:latest image: ubuntu:latest
only: only:
@ -67,15 +68,8 @@ ubuntu_lts:
- echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list - echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list
- apt-get -qy update - apt-get -qy update
- apt-get -qy dist-upgrade - apt-get -qy dist-upgrade
- apt-get -qy install --no-install-recommends - apt-get -qy install fdroidserver git python3-setuptools
aapt adb android-platform-tools-base android-sdk-common fdroidserver
git gnupg python3-setuptools unzip wget zipalign
- export ANDROID_HOME=/usr/lib/android-sdk - export ANDROID_HOME=/usr/lib/android-sdk
# xenial's aapt is too old
- wget --no-verbose https://dl.google.com/android/repository/build-tools_r27.0.3-linux.zip
- unzip -q build-tools_r27.0.3-linux.zip
- rm build-tools_r27.0.3-linux.zip
- mv android-8.1.0 $ANDROID_HOME/build-tools/27.0.3
- export LANG=C.UTF-8 - export LANG=C.UTF-8
- cd tests - cd tests
- ./run-tests - ./run-tests