Pass codecov token via environment variable.

This commit is contained in:
Roberto Rosario
2015-09-28 00:26:20 -04:00
parent 8d52f85b63
commit f789ea09e6

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
- codecov
- codecov --token=$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
- codecov --token=$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
- codecov --token=$CODECOV_TOKEN