-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitlab-ci.yml
51 lines (44 loc) · 981 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
image: bunislab/sdr-pybombs-env:latest
#before_script:
# - pip install -r requirements.txt
stages:
- Environment
- Static Analysis
- Test
- Run
flake8:
stage: Static Analysis
script:
- apt-get update && apt-get install -y flake8
- make pep8
artifacts:
reports:
junit: tests/pep8.log
allow_failure: true
install:
stage: Environment
script:
- make install-vendor install-pydeps
- python3 setup.py install
pytest:
stage: Test
script:
- make install-vendor install-pydeps
- python3 setup.py install
- make test
artifacts:
reports:
junit: tests/report.xml
coverage:
stage: Test
script:
- make install-vendor install-pydeps
- python3 setup.py install
- make test-coverage
run:
stage: Run
script:
- make install
- snout
- snout-doctor
- snout-doctor checkup