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
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
image: debian:stretch
test:pylint:
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-pylint.sh
before_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
test:pytest:
image: debian:stretch
stages:
- 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+%)$/'
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-pytest.sh
script: 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