diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6e1fb31 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: python + +python: + - "3.5" + +before_install: + - sudo apt-get update -qq + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" + - sleep 3 # give xvfb some time to start + +# command to install dependencies +install: + - pip install -r requirements.txt + +# command to run tests and coverage +script: + - python manage.py makemigrations + - python manage.py migrate + - coverage erase + - coverage run -p manage.py test -v2 + +after_success: + - coverage combine + - coverage report
\ No newline at end of file |