Add codecov support for test coverage reporting.

This commit is contained in:
Roberto Rosario
2015-09-28 00:09:23 -04:00
parent b2fcace9c2
commit 612e31c47e
2 changed files with 4 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ test:mysql:
- pip install -r requirements/testing.txt
- pip install -q mysql-python
- coverage run manage.py test $MAYAN_TEST_APPS --settings=mayan.settings.testing.gitlab-ci.db_mysql --nomigrations
- coveralls
- codecov
tags:
- mysql
test:postgres:
@@ -24,11 +24,11 @@ test:postgres:
- pip install -r requirements/testing.txt
- pip install -q psycopg2
- coverage run manage.py test $MAYAN_TEST_APPS --settings=mayan.settings.testing.gitlab-ci.db_postgres --nomigrations
- coveralls
- codecov
tags:
- postgres
test:sqlite:
script:
- pip install -r requirements/testing.txt
- coverage run manage.py test $MAYAN_TEST_APPS --settings=mayan.settings.testing.gitlab-ci --nomigrations
- coveralls
- codecov

View File

@@ -1,5 +1,6 @@
# requirements/testing.txt
-r common.txt
codecov==1.4.1
coverage==3.7.1
coveralls==0.5
django-test-without-migrations==0.2