2018-08-22 14:19:47 -07:00
|
|
|
stages:
|
2021-07-05 13:44:41 -07:00
|
|
|
- lint
|
2018-08-22 14:19:47 -07:00
|
|
|
- test
|
|
|
|
- trigger
|
|
|
|
|
2021-07-05 13:44:41 -07:00
|
|
|
mypy:
|
|
|
|
stage: lint
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
image: python:3
|
|
|
|
script:
|
|
|
|
- pip3 install mypy
|
|
|
|
- mypy slixmpp
|
|
|
|
|
2023-04-18 10:34:20 -07:00
|
|
|
test-3.7:
|
2018-08-22 14:19:47 -07:00
|
|
|
stage: test
|
2016-12-04 15:11:49 -08:00
|
|
|
tags:
|
|
|
|
- docker
|
2023-04-18 10:34:20 -07:00
|
|
|
image: python:3.7
|
2016-12-04 15:11:49 -08:00
|
|
|
script:
|
2023-04-18 10:34:20 -07:00
|
|
|
- apt-get update
|
|
|
|
- apt-get install -y python3 python3-pip cython3 gpg
|
2022-03-19 02:26:09 -07:00
|
|
|
- pip3 install emoji aiohttp cryptography
|
2016-12-04 15:11:49 -08:00
|
|
|
- ./run_tests.py
|
2018-08-22 14:19:47 -07:00
|
|
|
|
2021-12-13 13:37:07 -08:00
|
|
|
test-3.10:
|
2020-12-04 14:08:00 -08:00
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
2021-12-13 13:37:07 -08:00
|
|
|
image: python:3.10
|
2020-12-04 14:08:00 -08:00
|
|
|
script:
|
|
|
|
- apt update
|
2023-04-18 10:34:20 -07:00
|
|
|
- apt-get install -y python3 python3-pip cython3 gpg
|
2022-03-19 02:26:09 -07:00
|
|
|
- pip3 install emoji aiohttp cryptography
|
2021-12-13 13:37:07 -08:00
|
|
|
- ./run_tests.py
|
2020-12-04 14:08:00 -08:00
|
|
|
|
2021-12-13 13:37:07 -08:00
|
|
|
test-3.11:
|
2021-12-13 11:33:05 -08:00
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
2023-04-18 10:34:20 -07:00
|
|
|
image: python:3.11
|
|
|
|
script:
|
|
|
|
- apt-get update
|
|
|
|
- apt-get install -y python3 python3-pip cython3 gpg
|
|
|
|
- pip3 install emoji aiohttp cryptography
|
|
|
|
- ./run_tests.py
|
|
|
|
|
|
|
|
test-3.12:
|
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
image: python:3.12-rc
|
2021-12-13 13:43:52 -08:00
|
|
|
allow_failure: true
|
2021-12-13 11:33:05 -08:00
|
|
|
script:
|
2023-04-18 10:34:20 -07:00
|
|
|
- apt-get update
|
|
|
|
- apt-get install -y python3 python3-pip cython3 gpg
|
2022-03-19 02:26:09 -07:00
|
|
|
- pip3 install emoji aiohttp cryptography
|
2021-12-13 13:37:07 -08:00
|
|
|
- ./run_tests.py
|
2021-12-13 11:33:05 -08:00
|
|
|
|
2021-12-13 13:37:07 -08:00
|
|
|
test_integration:
|
2021-12-13 11:33:05 -08:00
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
2023-04-18 10:34:20 -07:00
|
|
|
image: python:3
|
2021-12-13 11:33:05 -08:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_ACCOUNT1
|
|
|
|
- $CI_ACCOUNT2
|
|
|
|
script:
|
2023-04-18 10:34:20 -07:00
|
|
|
- apt-get update
|
|
|
|
- apt-get install -y python3 python3-pip cython3 gpg
|
2021-12-13 11:33:05 -08:00
|
|
|
- pip3 install emoji aiohttp aiodns
|
|
|
|
- ./run_integration_tests.py
|
|
|
|
|
2018-08-22 14:19:47 -07:00
|
|
|
trigger_poezio:
|
|
|
|
stage: trigger
|
|
|
|
tags:
|
|
|
|
- docker
|
2021-12-13 14:08:55 -08:00
|
|
|
image: curlimages/curl:7.79.1
|
2018-08-22 14:19:47 -07:00
|
|
|
script:
|
|
|
|
- curl --request POST -F token="$SLIXMPP_TRIGGER_TOKEN" -F ref=master https://lab.louiz.org/api/v4/projects/18/trigger/pipeline
|