language: php

php:
  - '7.0'

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

script:
  - vendor/bin/phpunit

cache:
  directories:
    - vendor

language: php

php:
  - '7.0'

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

script:
  - vendor/bin/phpunit

cache:
  directories:
    - vendor

addons:
  mariadb: '10.1'

Use MariaDB as test database instead
Use MariaDB as test database instead
