distro: trusty
sudo: false
language: php
php:
  - 7.0
  - 7.1
  - 7.2
  - 7.3
services:
  - mysql
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@localhost"
  - mysql -u root -e "SET PASSWORD FOR travis@localhost = PASSWORD('travis'); FLUSH PRIVILEGES"
  - if [[ $TRAVIS_PHP_VERSION != "7.3" ]]; then phpenv config-rm xdebug.ini; fi
  - wget https://codeception.com/releases/2.3.9/codecept.phar
  - php -S localhost:8000 &
script:
  - php codecept.phar build
  - php codecept.phar run --debug --fail-fast --env travis
  - grunt lint
notifications:
  email: false

distro: trusty
sudo: false
language: php
php:
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - 7.4
matrix:
  allow_failures:
    - php: 7.4
services:
  - mysql
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@localhost"
  - mysql -u root -e "SET PASSWORD FOR travis@localhost = PASSWORD('travis'); FLUSH PRIVILEGES"
  - if [[ $TRAVIS_PHP_VERSION != "7.3" ]]; then phpenv config-rm xdebug.ini; fi
  - wget https://codeception.com/releases/2.3.9/codecept.phar
  - php -S localhost:8000 &
script:
  - php codecept.phar build
  - php codecept.phar run --debug --fail-fast --env travis
  - grunt lint
notifications:
  email: false

Add PHP 7.4 to unit tests
Add PHP 7.4 to unit tests
