diff .travis.yml @ 6760:38e0fc1c7f11

issue2551216 - create mysql databases using COLLATE utf8_general_ci Otherwise the test suite crashes in three tests under python2. With python3 the crash does not happaen, but python3 passes with this change as well.
author John Rouillard <rouilj@ieee.org>
date Sun, 10 Jul 2022 15:49:39 -0400
parents dcf34cc31438
children 3cfe6b0db01c
line wrap: on
line diff
--- a/.travis.yml	Tue Jul 05 19:45:12 2022 -0400
+++ b/.travis.yml	Sun Jul 10 15:49:39 2022 -0400
@@ -139,12 +139,6 @@
   # set up postgresql database
   - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
 
-  # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
-  #   needed for test_mysql.mysqlDBTest.testFilteringSpecialChars
-  # plus others. Otherwise we get:
-  # COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4'
-  - sed -i 's/CREATE DATABASE \%s/CREATE DATABASE \%s COLLATE utf8_general_ci/' roundup/backends/back_mysql.py
-
   # build the .mo translation files and install them into a tree
   # (locale/locale under roundup directory root) 
   # suitable for use by gettext.

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