mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
21 lines
501 B
YAML
21 lines
501 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 -r requirements.txt
|
|
- pip install coveralls
|
|
|
|
before_script:
|
|
- python manage.py collectstatic --noinput
|
|
|
|
script:
|
|
- coverage run --include=PyRIGS/*.*,RIGS/*.* --omit=*/migrations/* manage.py test RIGS
|
|
|
|
after_success:
|
|
- coveralls
|