before_script:
  - apt-get update -qy
  - apt-get install -y python python-requests python-magic
  - test -d fdroidserver && rm -rf fdroidserver
  - git clone https://gitlab.com/fdroid/fdroidserver.git fdroidserver --depth=10
  - export PATH="$PATH:$PWD/fdroidserver"
  - touch config.py

metadata_check:
  script:
    - fdroid readmeta

metadata_lint:
  script:
    - fdroid lint

before_script:
  - apt-get update -qy
  - apt-get install -y python python-requests python-magic
  - test -d fdroidserver && rm -rf fdroidserver
  - git clone https://gitlab.com/fdroid/fdroidserver.git fdroidserver --depth=10
  - export PATH="$PATH:$PWD/fdroidserver"
  - touch config.py

metadata_check:
  script:
    - fdroid readmeta
    - fdroid lint

Join readmeta and lint into the same task/job
Join readmeta and lint into the same task/job

This way, the preparing commands are only run once. Also, if readmeta fails,
lint will fail with the same message. So having the two messages thrown in
parallel is of little use.
