chiark / gitweb /
import: fix bitbucket import
[fdroidserver.git] / .gitlab-ci.yml
1 image: registry.gitlab.com/fdroid/ci-images-server:latest
2
3 test:
4   script:
5     - pip3 install -e .
6     - cd tests
7     - ./complete-ci-tests
8
9 # Test that the parsing of the .txt format didn't change from last
10 # released version. Ensure that the official tags are included when
11 # running these tests on forks as well.
12 metadata_v0:
13   script:
14     - git fetch https://gitlab.com/fdroid/fdroidserver 0.8
15     - cd tests
16     - export GITCOMMIT=`git describe`
17     - git checkout 0.8  # bump after release
18     - cd ..
19     - git clone --depth 1 https://gitlab.com/fdroid/fdroiddata
20     - cd fdroiddata
21     - ../tests/dump_internal_metadata_format.py
22     - cd ..
23     - git reset --hard
24     - git checkout $GITCOMMIT
25     - cd fdroiddata
26     - ../tests/dump_internal_metadata_format.py
27     - diff -uw metadata/dump_*