From 612e31c47e3689ae9d81086cc9144955d94be782 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 28 Sep 2015 00:09:23 -0400 Subject: [PATCH] Add codecov support for test coverage reporting. --- .gitlab-ci.yml | 6 +++--- requirements/testing.txt | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e724d66e7..4f6c58fcef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/requirements/testing.txt b/requirements/testing.txt index 6f9b5a797a..0be78b0fa1 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -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