1
0
Fork 0
forked from s3lph/matemat
matemat/.gitlab-ci.yml

21 lines
430 B
YAML
Raw Normal View History

2018-05-29 21:49:40 +02:00
---
2018-06-19 22:55:37 +02:00
image: s3lph/matemat-ci:20180619-01
2018-05-29 21:49:40 +02:00
stages:
- test
- codestyle
2018-05-29 21:49:40 +02:00
test:
stage: test
2018-05-29 21:49:40 +02:00
script:
- pip3 install -r requirements.txt
2018-06-19 22:54:07 +02:00
- python3-coverage run --branch -m unittest discover matemat
- python3-coverage report -m --include 'matemat/*' --omit '*/test_*.py'
codestyle:
stage: codestyle
script:
- pip3 install -r requirements.txt
- pycodestyle matemat
# - mypy --ignore-missing-imports --strict -p matemat