gitlab-ci: use androguard and python3-ruamel.yaml from backports

This should fix the lint issue in:
https://gitlab.com/fdroid/fdroiddata/merge_requests/5250
This commit is contained in:
Hans-Christoph Steiner 2019-08-15 14:19:11 +02:00
parent b1ed2b3e53
commit 24ce07db01
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA

View file

@ -2,6 +2,11 @@ image: registry.gitlab.com/fdroid/ci-images-server:latest
lint:
before_script:
- printf "Package\x3a androguard fdroidserver python3-asn1crypto python3-ruamel.yaml\nPin\x3a release a=stretch-backports\nPin-Priority\x3a 500\n" > /etc/apt/preferences.d/debian-stretch-backports.pref
- echo "deb http://deb.debian.org/debian/ stretch-backports main" > /etc/apt/sources.list.d/backports.list
- apt-get update
- apt-get -qy dist-upgrade
- rm -rf fdroidserver
- mkdir fdroidserver
- curl --silent https://gitlab.com/fdroid/fdroidserver/repository/master/archive.tar.gz