chiark / gitweb /
handle gradle-plugin 3.0 output apk location
[fdroidserver.git] / .gitlab-ci.yml
index 361c196c511732550282cf79693ea47b41784b3f..7e17d7c88beff927fcca31ea102b040d8715c328 100644 (file)
@@ -2,17 +2,13 @@ image: registry.gitlab.com/fdroid/ci-images-server:latest
 
 test:
   script:
-    - apt-get -qq update && apt-get -y dist-upgrade
-    - mkdir -p /usr/lib/python3.4/site-packages/
-    # workaround https://github.com/pypa/setuptools/issues/937
-    - pip3 install setuptools==33.1.1
     - pip3 install -e .
     - cd tests
     - ./complete-ci-tests
 
 # Test that the parsing of the .txt format didn't change. The metadata
-# field 'Author Web Site' was added after 0.7.0, so that can't be part
-# of the test.
+# fields 'Author Web Site', 'antifeatures=', 'buildozer=', and 'sudo='
+# where added after 0.7.0, so that can't be part of the test.
 metadata_v0:
   script:
     - cd tests
@@ -23,6 +19,10 @@ metadata_v0:
     - sed -i "s/'Author Email',/'Author Email',\n'Author Web Site',/" fdroidserver/metadata.py
     - git clone --depth 1 https://gitlab.com/fdroid/fdroiddata
     - cd fdroiddata
+    - sed -i -e '/antifeatures=/d'
+             -e '/buildozer=/d'
+             -e '/sudo=/d'
+             metadata/*.txt
     - ../tests/dump.py
     - cd ..
     - git reset --hard
@@ -32,6 +32,8 @@ metadata_v0:
     - "sed -i -e '/AuthorWebSite/d'
              -e '/Description: No description available/d'
              -e \"/Description: ''/d\"
+             -e '/antifeatures:/d'
              -e '/buildozer:/d'
+             -e '/sudo:/d'
              metadata/dump_*/*.yaml"
     - diff -uw metadata/dump_*