-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
51 lines (42 loc) · 1.4 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: php
matrix:
include:
- php: 7.1
env: ILLUMINATE_MINOR_VERSION=5 PHP_UNIT=6.0
- php: 7.2
env: ILLUMINATE_MINOR_VERSION=5 PHP_UNIT=6.0
- php: 7.3
env: ILLUMINATE_MINOR_VERSION=5 PHP_UNIT=6.0
- php: 7.1
env: ILLUMINATE_MINOR_VERSION=6 PHP_UNIT=7.0
- php: 7.2
env: ILLUMINATE_MINOR_VERSION=6 PHP_UNIT=7.0
- php: 7.3
env: ILLUMINATE_MINOR_VERSION=6 PHP_UNIT=7.0
- php: 7.1
env: ILLUMINATE_MINOR_VERSION=7 PHP_UNIT=7.0
- php: 7.2
env: ILLUMINATE_MINOR_VERSION=7 PHP_UNIT=7.0
- php: 7.3
env: ILLUMINATE_MINOR_VERSION=7 PHP_UNIT=7.0
- php: 7.1
env: ILLUMINATE_MINOR_VERSION=8 PHP_UNIT=7.0
- php: 7.2
env: ILLUMINATE_MINOR_VERSION=8 PHP_UNIT=7.0
- php: 7.3
env: ILLUMINATE_MINOR_VERSION=8 PHP_UNIT=7.0
cache:
directories:
- $HOME/.composer/cache
before_install:
- travis_retry composer self-update
- composer require "illuminate/contracts:5.${ILLUMINATE_MINOR_VERSION}.*" --no-update
- composer require "orchestra/testbench:3.${ILLUMINATE_MINOR_VERSION}.*" --no-update
- composer require "phpunit/phpunit:^${PHP_UNIT}" --no-update
install:
- travis_retry composer update --prefer-source --no-interaction --no-suggest
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover