1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01:00
fdroidserver/.gitlab-ci.yml

28 lines
803 B
YAML
Raw Normal View History

image: registry.gitlab.com/fdroid/ci-images-server:latest
2016-02-29 20:56:02 +01:00
2015-08-29 01:02:19 +02:00
test:
2015-08-28 00:59:46 +02:00
script:
2016-03-01 18:13:34 +01:00
- pip3 install -e .
2015-08-29 01:02:19 +02:00
- cd tests
- ./complete-ci-tests
# Test that the parsing of the .txt format didn't change from last
# released version. Ensure that the official tags are included when
# running these tests on forks as well.
metadata_v0:
script:
- git fetch https://gitlab.com/fdroid/fdroidserver 0.8
- 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_*