TravisCI Fixes
This commit is contained in:
parent
760525a673
commit
9292887328
1 changed files with 7 additions and 13 deletions
20
.travis.yml
20
.travis.yml
|
@ -1,24 +1,17 @@
|
|||
langauge: php
|
||||
|
||||
language: php
|
||||
dist: trusty
|
||||
|
||||
php:
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
|
||||
- '7.0'
|
||||
- '7.1'
|
||||
- nightly
|
||||
sudo: required
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.composer/cache
|
||||
|
||||
services:
|
||||
- mysql
|
||||
|
||||
before_install:
|
||||
- mysql -e 'CREATE DATABASE travis;'
|
||||
|
||||
- mysql -e 'CREATE DATABASE IF NOT EXISTS travis;'
|
||||
before_script:
|
||||
- phpenv config-rm xdebug.ini
|
||||
- cp .env.travis .env
|
||||
|
@ -27,6 +20,7 @@ before_script:
|
|||
- php artisan key:generate --force
|
||||
- php artisan migrate --force
|
||||
- php artisan db:seed --force
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
||||
notifications:
|
||||
email: false
|
||||
|
|
Loading…
Reference in a new issue