add gitlab continuous integration config
parent
74cd3fb003
commit
ceb941d501
|
@ -0,0 +1,21 @@
|
||||||
|
image: python:2.7.12-slim
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- pip install -r test-requirements.txt
|
||||||
|
- coverage erase
|
||||||
|
|
||||||
|
variables:
|
||||||
|
COVERAGE_FILE: .coverage
|
||||||
|
|
||||||
|
pytest:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- ONE_XMLRPC="http://localhost:2633/RPC2" python setup.py test
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- coverage combine
|
||||||
|
- coverage report
|
||||||
|
- coverage html
|
Loading…
Reference in New Issue