slixmpp/.gitlab-ci.yml

71 lines
1.3 KiB
YAML
Raw Normal View History

stages:
2021-07-05 20:44:41 +00:00
- lint
- test
- trigger
2021-07-05 20:44:41 +00:00
mypy:
stage: lint
tags:
- docker
image: python:3
script:
- pip3 install mypy
- mypy slixmpp
2016-12-04 23:11:49 +00:00
test:
stage: test
2016-12-04 23:11:49 +00:00
tags:
- docker
image: ubuntu:latest
script:
- apt update
2020-11-27 18:40:41 +00:00
- apt install -y python3 python3-pip cython3 gpg
- pip3 install emoji aiohttp cryptography
2016-12-04 23:11:49 +00:00
- ./run_tests.py
2021-12-13 21:37:07 +00:00
test-3.10:
stage: test
tags:
- docker
2021-12-13 21:37:07 +00:00
image: python:3.10
script:
- apt update
- apt install -y python3 python3-pip cython3 gpg
- pip3 install emoji aiohttp cryptography
2021-12-13 21:37:07 +00:00
- ./run_tests.py
2021-12-13 21:37:07 +00:00
test-3.11:
2021-12-13 19:33:05 +00:00
stage: test
tags:
- docker
2021-12-13 21:37:07 +00:00
image: python:3.11-rc
allow_failure: true
2021-12-13 19:33:05 +00:00
script:
- apt update
- apt install -y python3 python3-pip cython3 gpg
- pip3 install emoji aiohttp cryptography
2021-12-13 21:37:07 +00:00
- ./run_tests.py
2021-12-13 19:33:05 +00:00
2021-12-13 21:37:07 +00:00
test_integration:
2021-12-13 19:33:05 +00:00
stage: test
tags:
- docker
2021-12-13 21:37:07 +00:00
image: ubuntu:latest
2021-12-13 19:33:05 +00:00
only:
variables:
- $CI_ACCOUNT1
- $CI_ACCOUNT2
script:
- apt update
- apt install -y python3 python3-pip cython3 gpg
- pip3 install emoji aiohttp aiodns
- ./run_integration_tests.py
trigger_poezio:
stage: trigger
tags:
- docker
2021-12-13 22:08:55 +00:00
image: curlimages/curl:7.79.1
script:
- curl --request POST -F token="$SLIXMPP_TRIGGER_TOKEN" -F ref=master https://lab.louiz.org/api/v4/projects/18/trigger/pipeline