Skip to content

Commit bf5f130

Browse files
committed
try fixing travis ci build error, there config changed, or there mysql db version
1 parent 0d3bdf2 commit bf5f130

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ before_script:
1919
- composer self-update
2020
- composer require php-coveralls/php-coveralls
2121
- mysql -e 'CREATE DATABASE IF NOT EXISTS ez_test;'
22-
- mysql -e 'GRANT ALL PRIVILEGES ON ez_test.* TO ez_test@localhost;'
23-
- mysql -e "SET PASSWORD FOR 'ez_test'@'localhost' = PASSWORD('ezTest')"
22+
- mysql -e "CREATE USER ez_test@localhost IDENTIFIED BY 'ezTest'; GRANT ALL ON ez_test.* TO ez_test@localhost; FLUSH PRIVILEGES;"
2423
- psql -c 'CREATE DATABASE ez_test;' -U postgres
2524
- psql -c "CREATE USER ez_test WITH PASSWORD 'ezTest';" -U postgres
26-
25+
# - mysql -e 'GRANT ALL PRIVILEGES ON ez_test.* TO ez_test@localhost;'
26+
# - mysql -e "SET PASSWORD FOR 'ez_test'@'localhost' = PASSWORD('ezTest')"
27+
2728
after_success:
2829
- bash <(curl -s https://codecov.io/bash)
2930
- travis_retry php vendor/bin/php-coveralls

0 commit comments

Comments
 (0)