Revert "Configure GitLab-CI mysql service to use UTF-8 and fix failing test in MySQL."
This reverts commit bfa6c51f86.
This commit is contained in:
@@ -15,7 +15,6 @@ test:mysql:
|
|||||||
- pip install -r requirements/testing.txt
|
- pip install -r requirements/testing.txt
|
||||||
- pip install -q mysql-python
|
- pip install -q mysql-python
|
||||||
- apt-get install -qq mysql-client
|
- apt-get install -qq mysql-client
|
||||||
- cp contrib/testing/gitlab-ci/database.yml.mysql config/database.yml
|
|
||||||
- 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;"
|
- 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 runtests --settings=mayan.settings.testing.gitlab-ci.db_mysql --nomigrations
|
- coverage run manage.py runtests --settings=mayan.settings.testing.gitlab-ci.db_mysql --nomigrations
|
||||||
- bash <(curl https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t $CODECOV_TOKEN
|
- bash <(curl https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov) -t $CODECOV_TOKEN
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
- Move metadata form value validation to .clean() and update field data may not be available yet when validatng the value field. Only validate form value if form has a metadata type associated.
|
- Move metadata form value validation to .clean() and update field data may not be available yet when validatng the value field. Only validate form value if form has a metadata type associated.
|
||||||
- Only extract validation error messages from ValidationError exception instances.
|
- Only extract validation error messages from ValidationError exception instances.
|
||||||
- Don't store empty metadata value if the update checkbox is not checked.
|
- Don't store empty metadata value if the update checkbox is not checked.
|
||||||
- Add 2 second delay to document version tests to workaround MySQL not storing the millisecond part of the document version's timestamp.
|
|
||||||
|
|
||||||
2.0.1 (2016-01-22)
|
2.0.1 (2016-01-22)
|
||||||
==================
|
==================
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
test: &test
|
|
||||||
adapter: mysql2
|
|
||||||
collation: utf8_general_ci
|
|
||||||
database: gitlabhq_test
|
|
||||||
encoding: utf8
|
|
||||||
password:
|
|
||||||
pool: 5
|
|
||||||
reconnect: false
|
|
||||||
# socket: /tmp/mysql.sock
|
|
||||||
username: root
|
|
||||||
Reference in New Issue
Block a user