Skip to content

Commit

Permalink
Added php7.3 to travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsnop authored Jul 19, 2019
1 parent 17d2d37 commit d3bd1aa
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,32 @@ matrix:
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo mysql_upgrade -u root
- sudo service mysql restart
- php: 7.3
sudo: required
services:
- mysql
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
- mysql -V
- mysqldump -V
- tests/create_users.sh
script:
- php -l src/Ifsnop/Mysqldump/Mysqldump.php
- php src/Ifsnop/Mysqldump/Mysqldump.php
- vendor/bin/phpunit
- cd tests && ./test.sh
addons:
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server
- mysql-client
before_install:
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo mysql_upgrade -u root
- sudo service mysql restart
- php: 7.2
sudo: required
services:
Expand Down

0 comments on commit d3bd1aa

Please sign in to comment.