forked from Github-Mirrors/canaille
46 lines
749 B
YAML
46 lines
749 B
YAML
---
|
|
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
|
|
- pip install tox poetry coveralls pyyaml
|
|
|
|
python36:
|
|
image: python:3.6
|
|
stage: test
|
|
script: tox -e py36
|
|
|
|
python37:
|
|
image: python:3.7
|
|
stage: test
|
|
script: tox -e py37
|
|
|
|
python38:
|
|
image: python:3.8
|
|
stage: test
|
|
script: tox -e py38
|
|
|
|
python39:
|
|
image: python:3.9
|
|
stage: test
|
|
script: tox -e py39
|
|
|
|
doc:
|
|
image: python:3.9
|
|
stage: test
|
|
script: tox -e doc
|
|
|
|
coverage:
|
|
image: python:3.9
|
|
stage: test
|
|
script:
|
|
- tox -e coverage
|
|
- coveralls
|