language: php

php:
  - '7.2'

before_script:
  - cp .env.travis .env
  - mysql -e 'create database homestead_test;'
  - composer self-update
  - composer install --dev --no-interaction
  - php artisan key:generate
  - php artisan migrate --database=testing

script:
  - mkdir -p build/logs
  - vendor/bin/phpunit -c phpunit.xml.dist

after_success:
  - travis_retry php vendor/bin/coveralls

cache:
  directories:
    - vendor

addons:
  mariadb: '10.1'

language: php

php:
  - '7.2'

before_script:
  - cp .env.travis .env
  - mysql -e 'create database homestead_test;'
  - composer self-update
  - composer install --dev --no-interaction
  - php artisan key:generate
  - php artisan migrate --database=testing

script:
  - mkdir -p build/logs
  - vendor/bin/phpunit -c phpunit.xml.dist

after_success:
  - travis_retry php vendor/bin/coveralls

cache:
  directories:
    - vendor

addons:
  mariadb: '10.3'

Use MariaDB 10.3 in Travis environment
Use MariaDB 10.3 in Travis environment
