Fix travis CI build

This commit is contained in:
Thilina Hasantha
2019-08-30 03:12:53 +02:00
parent 15a45150cb
commit 0d92c820f7

View File

@@ -1,13 +1,7 @@
services: services:
- mysql - mysql
addons:
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server
before_script: before_script:
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('dev') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root - echo "USE mysql;\nUPDATE user SET authentication_string=PASSWORD('dev') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
install: install:
#- rm $TRAVIS_BUILD_DIR/tools/phpunit #- rm $TRAVIS_BUILD_DIR/tools/phpunit
#- composer require --dev phpunit/phpunit ~6.5.5 #- composer require --dev phpunit/phpunit ~6.5.5