Update .travis.yml

This commit is contained in:
walisonjose 2018-06-04 13:46:28 -03:00 committed by GitHub
parent b403603c60
commit 1f95fb3d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -28,10 +28,11 @@ before_install:
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('root') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
#- sudo mysql_upgrade
- sudo service mysql restart
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
install:
- echo -e "Install"
- mkdir /home/travis/build/wordpress/
- sudo ./tests/bin/install-wp-tests.sh c1_phpunit root root /home/travis/build/wordpress localhost latest
- sudo ./tests/bin/install-wp-tests.sh test root root /home/travis/build/wordpress localhost latest
#- service mysql restart
script: phpunit #--version
#after_success: