Switch to using travis for builds

This commit is contained in:
Tom Price
2016-07-11 11:58:56 +01:00
parent 68b35c2d24
commit 98a9b22e0e
2 changed files with 17 additions and 103 deletions

17
.travis.yml Normal file
View File

@@ -0,0 +1,17 @@
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/*