diff .travis.yml @ 5640:a82c56a9c2a2

trying to fix OperationalError(2006) problem in travis
author John Rouillard <rouilj@ieee.org>
date Sun, 10 Mar 2019 11:01:27 -0400
parents ff5e3e7d216c
children 1601968f01a1
line wrap: on
line diff
--- a/.travis.yml	Sat Mar 09 11:06:10 2019 -0500
+++ b/.travis.yml	Sun Mar 10 11:01:27 2019 -0400
@@ -71,6 +71,9 @@
 before_script:
   # set up mysql database
   - mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
+  - cat /etc/mysql/my.cnf
+  - sed -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf
+  - cat /etc/mysql/my.cnf
 
   # set up postgresql database
   - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres

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