From 6c04e7dbd64bfa11f5013e65bf98eb0099abf12d Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 7 May 2018 01:52:54 -0400 Subject: [PATCH] Call manage.py using python and not directly. Signed-off-by: Roberto Rosario --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 175839478b..7cb1413814 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,7 +56,7 @@ test-mysql: - apt-get install -qq libmysqlclient-dev mysql-client - pip install mysql-python - mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD" -e "set global character_set_server=utf8mb4;" - - manage.py test --mayan-apps --settings=mayan.settings.testing.gitlab-ci.db_mysql --nomigrations + - python manage.py test --mayan-apps --settings=mayan.settings.testing.gitlab-ci.db_mysql --nomigrations tags: - mysql @@ -70,7 +70,7 @@ test-postgres: script: - apt-get install -qq libpq-dev - pip install psycopg2 - - manage.py test --mayan-apps --settings=mayan.settings.testing.gitlab-ci.db_postgres --nomigrations + - python manage.py test --mayan-apps --settings=mayan.settings.testing.gitlab-ci.db_postgres --nomigrations tags: - postgres