forked from getsentry/sentry-laravel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (58 loc) · 1.79 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
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot
env:
matrix:
- LARAVEL=5.0.* TESTBENCH=3.0.* PHPUNIT=4.8.*
- LARAVEL=5.1.* TESTBENCH=3.1.* PHPUNIT=5.7.*
- LARAVEL=5.2.* TESTBENCH=3.2.* PHPUNIT=5.7.*
- LARAVEL=5.3.* TESTBENCH=3.3.* PHPUNIT=5.7.*
- LARAVEL=5.4.* TESTBENCH=3.4.* PHPUNIT=5.7.*
- LARAVEL=5.5.* TESTBENCH=3.5.* PHPUNIT=6.5.*
- LARAVEL=5.6.* TESTBENCH=3.6.* PHPUNIT=7.5.*
- LARAVEL=5.7.* TESTBENCH=3.7.* PHPUNIT=7.5.*
- LARAVEL=5.8.* TESTBENCH=3.8.* PHPUNIT=7.5.*
matrix:
fast_finish: true
allow_failures:
- php: 7.4snapshot
exclude:
- php: 7.2
env: LARAVEL=5.0.* TESTBENCH=3.0.* PHPUNIT=4.8.*
- php: 7.3
env: LARAVEL=5.0.* TESTBENCH=3.0.* PHPUNIT=4.8.*
- php: 7.4snapshot
env: LARAVEL=5.0.* TESTBENCH=3.0.* PHPUNIT=4.8.*
cache:
directories:
- $HOME/.composer/cache
stages:
- Code style
- Test
jobs:
include:
- stage: Code style
name: PHP CS Fixer
php: 7.3
env: USE_COMPOSER_JSON=1
script: composer phpcs
before_install:
- if [ "$USE_COMPOSER_JSON" != "1" ]; then composer remove friendsofphp/php-cs-fixer --dev --no-update; fi;
- if [ "$USE_COMPOSER_JSON" != "1" ]; then composer require laravel/framework:$LARAVEL illuminate/support:$LARAVEL orchestra/testbench:$TESTBENCH phpunit/phpunit:$PHPUNIT php-http/curl-client guzzlehttp/psr7 --no-update --no-interaction --dev; fi;
install:
- travis_retry composer install --no-suggest --no-interaction --prefer-dist --no-progress
- composer info
script:
- composer tests-travis
notifications:
webhooks:
urls:
- https://zeus.ci/hooks/128fe032-1997-11e9-ac0e-0a580a280305/public/provider/travis/webhook
on_success: always
on_failure: always
on_start: always
on_cancel: always
on_error: always