-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (68 loc) · 2.13 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
72
73
74
language: php
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 7.1
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
- php: 7.1
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
- php: 7.1
env: LARAVEL='5.7.*' TESTBENCH='3.7.*'
- php: 7.1
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
- php: 7.2
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
- php: 7.2
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
- php: 7.2
env: LARAVEL='5.7.*' TESTBENCH='3.7.*'
- php: 7.2
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
- php: 7.2
env: LARAVEL='6.0.*' TESTBENCH='4.0.*'
- php: 7.2
env: LARAVEL='6.1.*' TESTBENCH='4.1.*'
- php: 7.2
env: LARAVEL='6.2.*' TESTBENCH='4.2.*'
- php: 7.2
env: LARAVEL='6.3.*' TESTBENCH='4.2.*'
- php: 7.2
env: LARAVEL='6.4.*' TESTBENCH='4.3.*'
- php: 7.2
env: LARAVEL='6.5.*' TESTBENCH='4.3.*'
- php: 7.3
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
- php: 7.3
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
- php: 7.3
env: LARAVEL='5.7.*' TESTBENCH='3.7.*'
- php: 7.3
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
- php: 7.3
env: LARAVEL='6.0.*' TESTBENCH='4.0.*'
- php: 7.3
env: LARAVEL='6.1.*' TESTBENCH='4.1.*'
- php: 7.3
env: LARAVEL='6.2.*' TESTBENCH='4.2.*'
- php: 7.3
env: LARAVEL='6.3.*' TESTBENCH='4.2.*'
- php: 7.3
env: LARAVEL='6.4.*' TESTBENCH='4.3.*'
- php: 7.3
env: LARAVEL='6.5.*' TESTBENCH='4.3.*' COVERAGE=1
before_install:
- travis_retry composer self-update
- travis_retry composer require --no-update --no-interaction "illuminate/support:${LARAVEL}" "orchestra/testbench:${TESTBENCH}"
install:
- travis_retry composer update --no-interaction --no-suggest --prefer-dist $COMPOSER_ARGS
script:
- php vendor/bin/phpcs --standard=phpcs.xml.dist
- php vendor/bin/phpunit --coverage-clover=build/logs/clover.xml
after_success:
- if [[ $COVERAGE == '1' ]]; then
travis_retry composer require php-coveralls/php-coveralls;
travis_retry php vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v;
fi