1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-04 16:30:12 +02:00
fdroidserver/.gitlab-ci.yml
Marcus Hoffmann baef08725b CI: bump fdroid version to test against to 0.8 remove legacy handling
Bump to latest released version, remove all handling of things that
changed in a backward incompatible way before.
2017-08-31 21:06:34 +02:00

26 lines
657 B
YAML

image: registry.gitlab.com/fdroid/ci-images-server:latest
test:
script:
- pip3 install -e .
- cd tests
- ./complete-ci-tests
# Test that the parsing of the .txt format didn't change
# from last released version.
metadata_v0:
script:
- cd tests
- export GITCOMMIT=`git describe`
- git checkout 0.8 # bump after release
- cd ..
- git clone --depth 1 https://gitlab.com/fdroid/fdroiddata
- cd fdroiddata
- ../tests/dump_internal_metadata_format.py
- cd ..
- git reset --hard
- git checkout $GITCOMMIT
- cd fdroiddata
- ../tests/dump_internal_metadata_format.py
- diff -uw metadata/dump_*