-
Notifications
You must be signed in to change notification settings - Fork 76
/
.travis.yml
31 lines (25 loc) · 915 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: php
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 7.2
env: ILLUMINATE_VERSION=6.*
- php: 7.3
env: ILLUMINATE_VERSION=6.*
- php: 7.4
env: ILLUMINATE_VERSION=6.*
- php: 7.2
env: ILLUMINATE_VERSION=7.*
- php: 7.3
env: ILLUMINATE_VERSION=7.*
- php: 7.4
env: ILLUMINATE_VERSION=7.*
before_install: travis_retry composer require "illuminate/database:${ILLUMINATE_VERSION}" "illuminate/events:${ILLUMINATE_VERSION}" --no-update -v
install: travis_retry composer install --prefer-dist --no-interaction --no-suggest -v
script: vendor/bin/phpunit --debug -c phpunit.xml --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover