forked from hisorange/browser-detect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (36 loc) · 1.01 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
language: php
php:
- 7.3
- 8.0
env:
- LARAVEL_VERSION=6.2
- LARAVEL_VERSION=6.3
- LARAVEL_VERSION=6.4
- LARAVEL_VERSION=6.5
- LARAVEL_VERSION=7.0
- LARAVEL_VERSION=8.0
matrix:
exclude:
- php: 8.0
env: LARAVEL_VERSION=6.2
- php: 8.0
env: LARAVEL_VERSION=6.3
- php: 8.0
env: LARAVEL_VERSION=6.4
- php: 8.0
env: LARAVEL_VERSION=6.5
- php: 8.0
env: LARAVEL_VERSION=7.0
before_install:
- composer self-update >/dev/null 2>&1
- composer require laravel/framework:${LARAVEL_VERSION} --no-update
install: composer update --prefer-source --no-interaction
script: composer run-script test
after_success:
- "if [ $LARAVEL_VERSION = '8.0' ]; then vendor/bin/phpstan analyse -c phpstan.neon ./src/; fi"
- "if [ $LARAVEL_VERSION = '8.0' ]; then php vendor/bin/phpcs --standard=PSR12 ./src/; fi"
- "if [ $LARAVEL_VERSION = '8.0' ]; then php vendor/bin/coveralls -v; fi"
notifications:
email:
# Thanks for this awesome service @TravisCI!