From 40c8fa728dcd2e0de86f8c660c84e6601a6b993d Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 28 Sep 2015 01:00:53 -0400 Subject: [PATCH] Add official codecov hack for coverage <4.0. --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ea54c879a..bcc2d0622b 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 - - codecov --token=$CODECOV_TOKEN + - bash <(curl -x https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t $CODECOV_TOKEN 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 - - codecov --token=$CODECOV_TOKEN + - bash <(curl -x https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t $CODECOV_TOKEN 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 - - codecov --token=$CODECOV_TOKEN + - bash <(curl -x https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t $CODECOV_TOKEN