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
|
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
|
||||||
|
|
Loading…
Reference in a new issue