File tree 2 files changed +16
-3
lines changed
2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 4
4
include :
5
5
# linux tests
6
6
- php : ' 7.1'
7
+ env : YAML=3.0
8
+ - php : ' 7.1'
9
+ env : YAML=4.0
10
+ - php : ' 7.2'
11
+ env : YAML=3.0
7
12
- php : ' 7.2'
13
+ env : YAML=4.0
14
+ - php : ' 7.3'
15
+ env : YAML=3.0
8
16
- php : ' 7.3'
17
+ env : YAML=4.0
9
18
- php : nightly
19
+ env : YAML=4.0
10
20
# windows tests
11
21
# https://travis-ci.community/t/where-to-contribute-php-support-for-windows/304
12
22
- os : windows
@@ -23,14 +33,17 @@ matrix:
23
33
# - ls /c/tools/composer
24
34
- wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -dextension=/c/tools/php73/ext/php_openssl.dll --
25
35
- ls
26
- install : php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll composer.phar install --prefer-dist --no-interaction
36
+ install :
37
+ - php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll composer.phar install --prefer-dist --no-interaction
27
38
script : php -dextension=/c/tools/php73/ext/php_openssl.dll -dextension=/c/tools/php73/ext/php_mbstring.dll vendor/phpunit/phpunit/phpunit
28
39
29
40
# allow php nightly to fail until https://travis-ci.community/t/php-nightly-now-requires-oniguruma/2237 is fixed
30
41
allow_failures :
31
42
- php : nightly
32
43
33
- install : make install
44
+ install :
45
+ - make install
46
+ - composer require symfony/yaml:"^${YAML}" --prefer-dist --no-interaction
34
47
script :
35
48
- make lint
36
49
- make test
Original file line number Diff line number Diff line change 20
20
"require" : {
21
21
"php" : " >=7.1.0" ,
22
22
"ext-json" : " *" ,
23
- "symfony/yaml" : " ^4.0" ,
23
+ "symfony/yaml" : " ^3.0 | ^ 4.0" ,
24
24
"justinrainbow/json-schema" : " ^5.0"
25
25
},
26
26
"require-dev" : {
You can’t perform that action at this time.
0 commit comments