forked from hetznercloud/hcloud-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
56 lines (46 loc) · 913 Bytes
/
Copy path.gitlab-ci.yml
File metadata and controls
56 lines (46 loc) · 913 Bytes
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
44
45
46
47
48
49
50
51
52
53
54
55
56
stages:
- test
.tests_template: &tests_template
before_script:
- pip install tox
stage: test
script:
tox
variables:
FAKE_API_ENDPOINT: "http://apimock:8080/v1"
tags:
- hc-bladerunner
services:
- name: lkdevelopment/hetzner-cloud-api-mock
alias: apimock
python27:
<<: *tests_template
image: python:2.7-alpine
script: tox -e py27
python35:
<<: *tests_template
image: python:3.5-alpine
script: tox -e py35
python36:
<<: *tests_template
image: python:3.6-alpine
script: tox -e py36
python37:
<<: *tests_template
image: python:3.7-alpine
script: tox -e py37
python38:
<<: *tests_template
image: python:3.8-alpine
script: tox -e py38
python39:
<<: *tests_template
image: python:3.9-rc-alpine
script: tox -e py39
test-style:
before_script:
- pip install tox
image: python:3.7-alpine
script: tox -e flake8
tags:
- hc-bladerunner