Skip to content

Commit 8cda55a

Browse files
authored
Merge pull request #532 from grooverdan/m10.5-travis-fix
travis: correct MariaDB-10.5 test
2 parents 47ebbbc + 85dc955 commit 8cda55a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ matrix:
2424
mariadb: "10.5"
2525
name: "MariaDB 10.5/Perl 5.24"
2626
perl: "5.24"
27+
sudo: true
28+
env: VERSION=mariadb-10.5
2729
# - addons:
2830
# mysql: "5.5"
2931
# name: "MySQL 5.5/Perl 5.24"
@@ -64,6 +66,8 @@ install:
6466
- cpanm --quiet --notest Text::Template
6567

6668
before_script:
69+
# MariaDB-10.4?+ has unix_plugin socket auth, but no password is set.
70+
- if [ "$VERSION" == 'mariadb-10.5' ]; then sudo mysql -e 'SET PASSWORD = PASSWORD("")'; fi
6771
- echo -e "[client]\nuser=root\npassword=\"\"" > .my.cnf
6872
- chmod 600 .my.cnf
6973
- git clone https://github.com/datacharmer/test_db.git

0 commit comments

Comments
 (0)