Skip to content

Commit

Permalink
fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissm79 committed Apr 19, 2018
1 parent abdf5e7 commit e53f293
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,20 @@ language: php

env:
global:
- COVERAGE=0 DB_DATABASE="test" DB_USERNAME="root"
- COVERAGE=0 DB_DATABASE="lighthouse" DB_USERNAME="root"

matrix:
include:
- php: 5.5.9
env: LARAVEL='^5.2'
- php: 5.5
env: LARAVEL='^5.2'
- php: 5.6
env: LARAVEL='^5.2'
- php: 7.0
env: LARAVEL='^5.2'
- php: 7.1
env: LARAVEL='^5.2'
- php: 5.6.4
env: LARAVEL='^5.3'
- php: 5.6
env: LARAVEL='^5.3'
- php: 7.0
env: LARAVEL='^5.3'
env: LARAVEL='^5.4''
- php: 7.1
env: COVERAGE=1 LARAVEL='^5.3'
env: LARAVEL='^5.5'
- php: 7.1
env: COVERAGE=1 LARAVEL='^5.6'
fast_finish: true

before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
- mysql -e 'CREATE DATABASE IF NOT EXISTS lighthouse;'
- if [[ $COVERAGE = 0 ]]; then phpenv config-rm xdebug.ini; fi
- travis_retry composer self-update
- travis_retry composer require "illuminate/contracts:${LARAVEL}" --no-interaction --no-update
Expand Down

0 comments on commit e53f293

Please sign in to comment.