set root pwd in travis

This commit is contained in:
Dave Horton
2019-12-05 09:59:34 -05:00
parent 0886f90e62
commit 350e310a8f

View File

@@ -5,8 +5,11 @@ node_js:
services:
- mysql
env:
- MYSQL_ROOT_PASSWORD=
- MYSQL_ROOT_PASSWORD=root
before_install:
- cat ~travis/.my.cnf
- sed -i -r -e 's/password =/password = root/g' ~travis/.my.cnf
- cat ~travis/.my.cnf
- sudo systemctl restart mysql
script:
- npm test