canaille-globuzma/.gitlab-ci.yml

53 lines
848 B
YAML
Raw Normal View History

2020-08-18 15:39:34 +00:00
---
image: python
stages:
- test
- build
- release
before_script:
- apt update
- env DEBIAN_FRONTEND=noninteractive apt install --yes slapd python3-dev libldap2-dev libsasl2-dev libssl-dev ldap-utils
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
2022-05-18 08:27:45 +00:00
- pip install tox poetry coveralls pyyaml tomli
2020-08-18 15:39:34 +00:00
2021-12-20 22:57:27 +00:00
style:
image: python:3.10
stage: test
script: tox -e style
2020-08-18 15:39:34 +00:00
python37:
image: python:3.7
stage: test
script: tox -e py37
python38:
image: python:3.8
stage: test
script: tox -e py38
2020-08-19 07:18:38 +00:00
2020-10-20 07:51:15 +00:00
python39:
image: python:3.9
stage: test
script: tox -e py39
2021-11-17 10:11:20 +00:00
python310:
image: python:3.10
stage: test
script: tox -e py310
2020-11-06 10:44:25 +00:00
doc:
2021-11-17 10:11:20 +00:00
image: python:3.10
2020-11-06 10:44:25 +00:00
stage: test
script: tox -e doc
2020-08-19 07:18:38 +00:00
coverage:
2021-11-17 10:11:20 +00:00
image: python:3.10
2020-08-19 07:18:38 +00:00
stage: test
2020-11-23 15:47:54 +00:00
allow_failure: true
2020-08-19 07:24:07 +00:00
script:
- tox -e coverage
- coveralls