chiark / gitweb /
gitlab-ci: apt upgrade so that tests run with current updates
authorHans-Christoph Steiner <hans@eds.org>
Thu, 29 Jun 2017 17:53:15 +0000 (19:53 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 3 Jul 2017 08:02:51 +0000 (10:02 +0200)
The MD5 signature stuff was failing in tests because the CI image was
using a quite old version of Java's jarsigner, which had not yet disabled
MD5.

.gitlab-ci.yml

index 571253af2f85d49a0dad67d438974efcc2b1806e..d0e173d870f6f1f6b91d807544c4ac2ad1eddd5a 100644 (file)
@@ -2,6 +2,7 @@ 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