mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-23 16:32:15 +00:00
18 lines
500 B
YAML
18 lines
500 B
YAML
language: python
|
|
python:
|
|
"2.7"
|
|
|
|
before_install:
|
|
- "export DISPLAY=:99.0"
|
|
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
|
|
|
|
install:
|
|
- pip install coverage
|
|
|
|
script:
|
|
- coverage run manage.py test RIGS
|
|
|
|
after_script:
|
|
- coverage report -m --include=PyRIGS/*.*,RIGS/*.* --omit=*/migrations/* | tee coverage.txt
|
|
- coverage html --include=PyRIGS/*.*,RIGS/*.* --omit=*/migrations/*
|