Skip to content

Commit 86c2fc9

Browse files
committed
try focal upgrade again. mysql user creation/grant updated
1 parent e565ccf commit 86c2fc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ branches:
1717
# - maint-1.6
1818

1919
dist:
20-
- bionic
20+
- focal
2121

2222
# - pypy3
2323
python:
@@ -40,8 +40,8 @@ jobs:
4040

4141
addons:
4242
apt:
43-
sources:
44-
- sourceline: ppa:xapian-backports/ppa
43+
#sources:
44+
# - sourceline: ppa:xapian-backports/ppa
4545

4646
packages:
4747
# Required to build/install the xapian-binding
@@ -115,7 +115,7 @@ before_script:
115115
- sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/my.cnf
116116
- cat /etc/mysql/my.cnf
117117
- sudo service mysql restart
118-
- mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
118+
- mysql -u root -e 'CREATE USER "rounduptest"@"localhost" IDENTIFIED WITH mysql_native_password BY "rounduptest"; GRANT ALL on rounduptest.* TO "rounduptest"@"localhost";'
119119

120120
- sudo service postgresql restart; sleep 30
121121
# set up postgresql database

0 commit comments

Comments
 (0)