forked from moathOSA/google-apiclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (65 loc) · 2.27 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
language: php
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 7.2
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.2
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-stable'
- php: 7.3
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.3
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-stable'
- php: 7.4
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.4
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-stable'
- php: 8.0
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 8.0
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-stable'
- php: 7.2
env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.2
env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-stable'
- php: 7.3
env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.3
env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-stable'
- php: 7.4
env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.4
env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-stable'
- php: 8.0
env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 8.0
env: LARAVEL='7.*' COMPOSER_FLAGS='--prefer-stable'
- php: 7.2
env: LARAVEL='8.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.2
env: LARAVEL='8.*' COMPOSER_FLAGS='--prefer-stable'
- php: 7.3
env: LARAVEL='8.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.3
env: LARAVEL='8.*' COMPOSER_FLAGS='--prefer-stable'
- php: 7.4
env: LARAVEL='8.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 7.4
env: LARAVEL='8.*' COMPOSER_FLAGS='--prefer-stable'
- php: 8.0
env: LARAVEL='8.*' COMPOSER_FLAGS='--prefer-lowest'
- php: 8.0
env: LARAVEL='8.*' COMPOSER_FLAGS='--prefer-stable'
before_install:
- travis_retry composer self-update
- travis_retry composer require "illuminate/support:${LARAVEL}" --no-update --no-interaction
install:
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction --no-suggest
script:
- 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