mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Run coveralls step after success
This commit is contained in:
parent
4e7e2b7295
commit
fa46f14f5d
@ -15,3 +15,6 @@ before_install:
|
||||
script:
|
||||
- make test
|
||||
- make style
|
||||
|
||||
after-success:
|
||||
- coveralls
|
5
Makefile
5
Makefile
@ -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
|
||||
|
@ -1,3 +1,4 @@
|
||||
-r base.txt
|
||||
flake8==3.3.0
|
||||
coverage>=4.5.3
|
||||
coverage>=4.5.3
|
||||
python-coveralls==2.9.1
|
Loading…
Reference in New Issue
Block a user