Skip to content

Commit 8597246

Browse files
committed
Remove other python versions to reduce cycle time while trying to fix
this. Sed my.cnf file in place and try to restart service.
1 parent 6d6e1b1 commit 8597246

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: python
22
python:
33
- 2.7
4-
- 3.4
5-
- 3.5
6-
- 3.6
4+
# - 3.4
5+
# - 3.5
6+
# - 3.6
77

88
sudo: false
99

@@ -72,8 +72,9 @@ before_script:
7272
# set up mysql database
7373
- mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
7474
- cat /etc/mysql/my.cnf
75-
- sed -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf
75+
- sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf
7676
- cat /etc/mysql/my.cnf
77+
- sudo service mysql restart
7778

7879
# set up postgresql database
7980
- psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres

0 commit comments

Comments
 (0)