Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (27 sloc) 555 Bytes
language: php
php:
- 7.1
- 7.2
- 7.3
addons:
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server
- mysql-client
services:
- mysql
cache:
directories:
- $HOME/.composer/cache
before_script:
- rm composer.lock
- composer install --no-progress --no-interaction --prefer-dist --no-suggest
- mysql -e 'CREATE DATABASE homestead;'
- cp .env.travis .env.testing
script:
- vendor/bin/php-cs-fixer fix --config=.php_cs --verbose --dry-run --diff
- vendor/bin/phpunit
notifications:
email: false