-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitlab-ci.yml
62 lines (53 loc) · 1001 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
stages:
- checks
.node-template: &node-template
image: node:12-alpine
before_script:
- apk add -q --no-cache git
except:
- master
- tags
format_ts:
<<: *node-template
stage: checks
script:
- cd typescript-node
- npm ci
- npm run ci:prettier
lint_ts:
<<: *node-template
stage: checks
script:
- cd typescript-node
- npm ci
- npm run ci:lint
check_types_ts:
<<: *node-template
stage: checks
script:
- cd typescript-node
- npm ci
- npm run ci:type-check
flake8:
image: python:3.7
stage: checks
script:
- cd python_client
- pip install -r requirements.txt
- flake8 --max-line-length=120 examples/*.py
- flake8 --max-line-length=120 src/*.py
pylint:
image: python:3.7
stage: checks
allow_failure: true
script:
- cd python_client
- pip install -r requirements.txt
- cd examples
- pylint private.py
- pylint public.py
- cd ../src
- pylint globe.py
except:
- master
- tags