-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.gitlab-ci.yml
42 lines (36 loc) · 869 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
before_script:
- "pip install -r .ci/requirements.txt"
- "REQUIREMENTS=$(mktemp) && python setup.py requirements > ${REQUIREMENTS} && pip install -r ${REQUIREMENTS} && rm ${REQUIREMENTS}"
- "pip install -r .ci/requirements_modules.txt"
build:3:
image: "python:3"
stage: "build"
script:
- "./tools/local_install.sh --local-modules ~/bin"
pyflakes:3:
image: "python:3"
stage: "test"
script:
- "./tools/pyflakes.sh"
lint:3:
image: "python:3"
stage: "test"
allow_failure: true
script:
- "./tools/weboob_lint.sh"
unittests:3:
image: "python:3"
stage: "test"
script:
- "./tools/run_tests.sh --no-modules"
unittests-modules:3:
image: "python:3"
stage: "test"
allow_failure: true
script:
- "./tools/run_tests.sh --no-core"
doc:3:
image: "python:3"
stage: "deploy"
script:
- "cd ./docs && make html"