Commit d42a221f authored by Adrien Dorsaz's avatar Adrien Dorsaz

gitlab-ci: fix yaml

parent 8db0387d
Pipeline #254 failed with stages
in 1 minute and 43 seconds
stages:
- check
- test
- lets_encrypt_staging
.check:
stage: check
......@@ -9,14 +9,16 @@ stages:
- merge_requests
- master
.test:
stage: test
.lets_encrypt_staging:
stage: lets_encrypt_staging
before_script:
- apt-get update && apt-get install -y --no-install-recommends \
python3-dnspython python3-requests python3-configargparse python3-coverage
python3-dnspython python3-requests python3-configargparse python3-coverage
script:
- python3-coverage run --source ./ -m unittest -v tests.test_acme_dns_tiny tests.test_acme_account_rollover tests.test_acme_account_deactivate
- python3-coverage report --include=acme_dns_tiny.py,tools/acme_account_rollover.py,tools/acme_account_deactivate.py
- python3-coverage run --source ./ -m unittest -v tests.test_acme_dns_tiny \
tests.test_acme_account_rollover tests.test_acme_account_deactivate
- python3-coverage report --include=acme_dns_tiny.py,\
tools/acme_account_rollover.py,tools/acme_account_deactivate.py
- python3-coverage html
only:
- merge_requests
......@@ -33,7 +35,7 @@ lint:
extends: .check
before_script:
- apt-get update && apt-get install -y --no-install-recommends pylint3 \
python3-dnspython python3-requests python3-configargparse python3-coverage
python3-dnspython python3-requests python3-configargparse python3-coverage
script:
- pylint3 acme_dns_tiny.py
- pylint3 tools/acme_account_deactivate.py
......@@ -43,15 +45,15 @@ lint:
- pylint3 tests/test_acme_account_deactivate.py
jessie:
extends: .test
extends: .lets_encrypt_staging
image: debian:jessie-slim
stretch:
extends: .test
extends: .lets_encrypt_staging
image: debian:stretch-slim
buster:
extends: .test
extends: .lets_encrypt_staging
image: debian:buster-slim
artifacts:
paths:
......
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