diff options
author | Akshen | 2019-04-12 11:29:32 +0530 |
---|---|---|
committer | Akshen | 2019-04-12 11:29:32 +0530 |
commit | dcc14d1e80011be4cdf7f10f248be90e96471beb (patch) | |
tree | 24ab20f18f4d1dbdb27a9e1b9602202f61977858 /.travis.yml | |
parent | 2d99408252a23c4715c9fb456af38d2246b87ead (diff) | |
download | FOSSEE_animations-dcc14d1e80011be4cdf7f10f248be90e96471beb.tar.gz FOSSEE_animations-dcc14d1e80011be4cdf7f10f248be90e96471beb.tar.bz2 FOSSEE_animations-dcc14d1e80011be4cdf7f10f248be90e96471beb.zip |
Add coverage and travis config files
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 |