Fix intermittent error with Travis CI

This commit is contained in:
Kijin Sung 2017-09-11 19:30:56 +09:00
parent adcfb0c24b
commit c1d63ce38f

View file

@ -11,8 +11,8 @@ services:
before_script:
- npm install grunt grunt-cli grunt-contrib-jshint grunt-contrib-csslint grunt-phplint --save-dev
- mysql -u root -e "CREATE DATABASE rhymix CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci"
- mysql -u root -e "GRANT ALL PRIVILEGES ON rhymix.* TO travis"
- mysql -u root -e "SET PASSWORD FOR travis = PASSWORD('travis'); FLUSH PRIVILEGES"
- mysql -u root -e "GRANT ALL PRIVILEGES ON rhymix.* TO travis@localhost"
- mysql -u root -e "SET PASSWORD FOR travis@localhost = PASSWORD('travis'); FLUSH PRIVILEGES"
- phpenv config-rm xdebug.ini
- php -S localhost:8000 &
- wget http://codeception.com/releases/2.1.11/codecept.phar