You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- if [[ $TRAVIS_PYTHON_VERSION != "3.4"* ]]; then pip install docutils; fi
103
-
- if [[ $TRAVIS_PYTHON_VERSION != "3.4"* ]]; then pip install mistune; fi
110
+
- if [[ $TRAVIS_PYTHON_VERSION != "3.4"* ]]; then pip install mistune==0.8.4; fi
104
111
- if [[ $TRAVIS_PYTHON_VERSION != "3.4"* && $TRAVIS_PYTHON_VERSION != "2."* ]]; then pip install Markdown; fi
105
112
- pip install markdown2
106
-
- pip install brotli zstd
113
+
- pip install brotli
114
+
# zstd fails to build under python nightly aborting test.
115
+
# allow testing to still happen if the optional package doesn't install.
116
+
- pip install zstd || true
107
117
108
118
before_script:
109
119
# set up mysql database
110
120
- sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf
111
121
- cat /etc/mysql/my.cnf
112
122
- sudo service mysql restart
113
-
- mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
123
+
- mysql -u root -e 'CREATE USER "rounduptest"@"localhost" IDENTIFIED WITH mysql_native_password BY "rounduptest"; GRANT ALL on rounduptest.* TO "rounduptest"@"localhost";'
114
124
125
+
# Disable fsync for speed, don't care about data durability when testing
126
+
- sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf
115
127
- sudo service postgresql restart; sleep 30
116
128
# set up postgresql database
117
129
- psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
118
130
119
131
# HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
120
132
# needed for test_mysql.mysqlDBTest.testFilteringSpecialChars
133
+
# plus others. Otherwise we get:
134
+
# COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4'
0 commit comments