travis_retry for mysql

maybe the server is not yet up at this point?

https://github.com/yiisoft/yii2/issues/13284
This commit is contained in:
Carsten Brandt
2017-01-18 00:02:00 +01:00
committed by GitHub
parent 97171a0db7
commit b26fad7258

View File

@ -134,7 +134,7 @@ before_script:
- psql --version
# initialize databases
- mysql -e 'CREATE DATABASE `yiitest`;';
- travis_retry mysql -e 'CREATE DATABASE `yiitest`;';
- mysql -e "CREATE USER 'travis'@'localhost' IDENTIFIED WITH mysql_native_password;";
- mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'localhost' WITH GRANT OPTION;";
- psql -U postgres -c 'CREATE DATABASE yiitest;';