2017-07-03 20:40:15 +02:00
|
|
|
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
|
2015-09-01 12:28:58 +02:00
|
|
|
- ./complete-ci-tests
|
2017-05-27 21:13:36 +02:00
|
|
|
|
2017-09-14 10:22:37 +02:00
|
|
|
# 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.
|
2017-05-27 21:13:36 +02:00
|
|
|
metadata_v0:
|
|
|
|
script:
|
2017-09-14 10:22:37 +02:00
|
|
|
- git fetch https://gitlab.com/fdroid/fdroidserver 0.8
|
2017-05-27 21:13:36 +02:00
|
|
|
- cd tests
|
2017-06-28 23:12:04 +02:00
|
|
|
- export GITCOMMIT=`git describe`
|
2017-08-31 20:36:07 +02:00
|
|
|
- git checkout 0.8 # bump after release
|
2017-05-27 21:13:36 +02:00
|
|
|
- cd ..
|
|
|
|
- git clone --depth 1 https://gitlab.com/fdroid/fdroiddata
|
|
|
|
- cd fdroiddata
|
2017-08-31 20:36:07 +02:00
|
|
|
- ../tests/dump_internal_metadata_format.py
|
2017-05-27 21:13:36 +02:00
|
|
|
- cd ..
|
|
|
|
- git reset --hard
|
2017-06-28 23:12:04 +02:00
|
|
|
- git checkout $GITCOMMIT
|
2017-05-27 21:13:36 +02:00
|
|
|
- cd fdroiddata
|
2017-08-31 20:36:07 +02:00
|
|
|
- ../tests/dump_internal_metadata_format.py
|
2017-05-27 21:13:36 +02:00
|
|
|
- diff -uw metadata/dump_*
|