TravisCI Fixes

This commit is contained in:
Dane Everitt 2017-06-15 23:07:39 -05:00
parent 760525a673
commit 9292887328
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -1,24 +1,17 @@
langauge: php language: php
dist: trusty dist: trusty
php: php:
- 7.0 - '7.0'
- 7.1 - '7.1'
- 7.2 - nightly
sudo: required sudo: required
cache: cache:
directories: directories:
- $HOME/.composer/cache - $HOME/.composer/cache
services: services:
- mysql - mysql
before_install: before_install:
- mysql -e 'CREATE DATABASE travis;' - mysql -e 'CREATE DATABASE IF NOT EXISTS travis;'
before_script: before_script:
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini
- cp .env.travis .env - cp .env.travis .env
@ -27,6 +20,7 @@ before_script:
- php artisan key:generate --force - php artisan key:generate --force
- php artisan migrate --force - php artisan migrate --force
- php artisan db:seed --force - php artisan db:seed --force
script: script:
- vendor/bin/phpunit --coverage-clover=coverage.xml - vendor/bin/phpunit --coverage-clover=coverage.xml
notifications:
email: false