Commit 15f81bb0 authored by Nico Alt's avatar Nico Alt

Restructure GitLab CI script

parent dfe367c6
Pipeline #3513 passed with stage
in 4 minutes and 20 seconds
test:pycodestyle: image: debian:stretch
image: debian:stretch
script:
- apt update && apt install --no-install-recommends -y gir1.2-gtk-3.0 python3-gi python3-pip python3-setuptools
- pip3 install -r requirements-dev.txt
- tools/tests/test-pycodestyle.sh
test:pylint: before_script:
image: debian:stretch - apt update && apt install --no-install-recommends -y gir1.2-gtk-3.0 python3-gi python3-pip python3-setuptools
script: - pip3 install -r requirements-dev.txt
- apt update && apt install --no-install-recommends -y gir1.2-gtk-3.0 python3-gi python3-pip python3-setuptools
- pip3 install -r requirements-dev.txt
- tools/tests/test-pylint.sh
test:pytest: stages:
image: debian:stretch - test
pycodestyle:
stage: test
script: tools/tests/test-pycodestyle.sh
pylint:
stage: test
script: tools/tests/test-pylint.sh
pytest:
stage: test
coverage: '/TOTAL.*\s+(\d+%)$/' coverage: '/TOTAL.*\s+(\d+%)$/'
script: script: tools/tests/test-pytest.sh
- apt update && apt install --no-install-recommends -y gir1.2-gtk-3.0 python3-gi python3-pip python3-setuptools
- pip3 install -r requirements-dev.txt
- tools/tests/test-pytest.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment