forked from cameroncros/OctoPrint-DiscordRemote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
43 lines (39 loc) · 886 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
stages: # List of stages for jobs, and their order of execution
- python36
- python37
- python38
- python39
- python310
.test-job:
needs: []
script:
- |
cat <<EOT >> config.yaml
channelid: '$CHANNEL_ID'
bottoken: '$BOT_TOKEN'
EOT
- pip install -r requirements.txt -r requirements-dev.txt OctoPrint==$OCTOVER
- python setup.py bdist_wheel
- pip install dist/*.whl
- NET_TEST=1 pytest
python38:
stage: python38
parallel:
matrix:
- OCTOVER: [ '1.7.3', '1.8.7', '1.9.0rc5' ]
extends: .test-job
image: python:3.8
python39:
stage: python39
parallel:
matrix:
- OCTOVER: [ '1.7.3', '1.8.7', '1.9.0rc5' ]
extends: .test-job
image: python:3.9
python310:
stage: python310
parallel:
matrix:
- OCTOVER: [ '1.7.3', '1.8.7', '1.9.0rc5' ]
extends: .test-job
image: python:3.10