forked from swooletw/laravel-swoole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (50 loc) · 1.54 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
language: php
dist: trusty
sudo: false
env:
global:
- COMPOSER_MEMORY_LIMIT=-1
matrix:
include:
- php: 7.2
env: FRAMEWORK_VERSION=laravel/framework:5.5.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/framework:5.6.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/framework:5.7.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/framework:5.8.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/framework:6.0.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/framework:7.0.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/framework:8.0.*
- php: 8.0
env: FRAMEWORK_VERSION=laravel/framework:8.0.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/lumen-framework:5.5.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/lumen-framework:5.6.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/lumen-framework:5.7.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/lumen-framework:5.8.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/lumen-framework:6.0.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/lumen-framework:7.0.*
- php: 7.2
env: FRAMEWORK_VERSION=laravel/lumen-framework:8.0.*
- php: 8.0
env: FRAMEWORK_VERSION=laravel/lumen-framework:8.0.*
before_install:
- printf "\n" | pecl install swoole
install:
- composer require "${FRAMEWORK_VERSION}" --no-update -n
- travis_retry composer install --no-suggest --prefer-dist -n -o
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_success:
- vendor/bin/php-coveralls -v