Run coveralls step after success

This commit is contained in:
Oliver Walters 2019-04-24 15:32:50 +10:00
parent 4e7e2b7295
commit fa46f14f5d
3 changed files with 9 additions and 2 deletions

View File

@ -15,3 +15,6 @@ before_install:
script:
- make test
- make style
after-success:
- coveralls

View File

@ -11,8 +11,11 @@ style:
flake8 InvenTree --ignore=C901,E501
test:
# Perform Django system checks
python InvenTree/manage.py check
python InvenTree/manage.py test --noinput
# Run the test framework (through coverage script)
coverage run InvenTree/manage.py test
migrate:
python InvenTree/manage.py makemigrations company

View File

@ -1,3 +1,4 @@
-r base.txt
flake8==3.3.0
coverage>=4.5.3
coverage>=4.5.3
python-coveralls==2.9.1