Fix typo, install mysql-client binary not Python library.

This commit is contained in:
Roberto Rosario
2015-10-15 16:36:41 -04:00
parent ec92caaac0
commit 572ceb50ec

View File

@@ -14,7 +14,8 @@ variables:
test:mysql:
script:
- pip install -r requirements/testing.txt
- pip install -q mysql-python mysql-client
- pip install -q mysql-python
- apt-get install -qq mysql-client
- mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD" -e "ALTER DATABASE $MYSQL_DATABASE CHARACTER SET utf8 COLLATE utf8_unicode_ci;"
- coverage run manage.py test $MAYAN_TEST_APPS --settings=mayan.settings.testing.gitlab-ci.db_mysql --nomigrations
- bash <(curl https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t $CODECOV_TOKEN