diff .travis.yml @ 5641:1601968f01a1

Remove other python versions to reduce cycle time while trying to fix this. Sed my.cnf file in place and try to restart service.
author John Rouillard <rouilj@ieee.org>
date Sun, 10 Mar 2019 11:18:32 -0400
parents a82c56a9c2a2
children bd681700e556
line wrap: on
line diff
--- a/.travis.yml	Sun Mar 10 11:01:27 2019 -0400
+++ b/.travis.yml	Sun Mar 10 11:18:32 2019 -0400
@@ -1,9 +1,9 @@
 language: python
 python:
   - 2.7
-  - 3.4
-  - 3.5
-  - 3.6
+#  - 3.4
+#  - 3.5
+#  - 3.6
 
 sudo: false
 
@@ -72,8 +72,9 @@
   # 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
+  - sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf
   - cat /etc/mysql/my.cnf
+  - sudo service mysql restart
 
   # set up postgresql database
   - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres

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