comparison .travis.yml @ 6617:bae541e5fb26

Fix change to mysql COLLATION command was missing file to sed.
author John Rouillard <rouilj@ieee.org>
date Sat, 12 Feb 2022 12:16:27 -0500
parents b8e74fd34f97
children 19897a7ef409
comparison
equal deleted inserted replaced
6616:b8e74fd34f97 6617:bae541e5fb26
123 # set up postgresql database 123 # set up postgresql database
124 - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres 124 - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
125 125
126 # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901 126 # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
127 # needed for test_mysql.mysqlDBTest.testFilteringSpecialChars 127 # needed for test_mysql.mysqlDBTest.testFilteringSpecialChars
128 - sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' 128 # plus others. Otherwise we get:
129 # COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4'
130 - sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py
129 131
130 # build the .mo translation files and install them into a tree 132 # build the .mo translation files and install them into a tree
131 # (locale/locale under roundup directory root) 133 # (locale/locale under roundup directory root)
132 # suitable for use by gettext. 134 # suitable for use by gettext.
133 - (cd locale; make local_install; ls -lR locale/de/LC_MESSAGES) 135 - (cd locale; make local_install; ls -lR locale/de/LC_MESSAGES)

Roundup Issue Tracker: http://roundup-tracker.org/