File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,24 @@ language: php
3
3
sudo : false
4
4
5
5
php :
6
- - 7.2
7
- - 7.3
6
+ - 7.1
7
+ - 7.2
8
+ - 7.3
9
+
10
+ env :
11
+ - PHPCS_FLAGS="--standard=PSR12"
8
12
9
13
matrix :
10
14
fast_finish : true
11
- # include:
12
- # - php: 5.6
13
- # env:
14
- # - COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
15
- # - PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"
15
+ include :
16
+ - php : 7.1
17
+ env :
18
+ - COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
19
+ - PHPCS_FLAGS="--standard=PSR2"
20
+ - php : 7.2
21
+ env :
22
+ - PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"
23
+ - PHPCS_FLAGS="--standard=PSR12"
16
24
17
25
before_install :
18
26
- travis_retry composer self-update
@@ -23,7 +31,7 @@ install:
23
31
24
32
script :
25
33
- mkdir -p build/logs
26
- - vendor/bin/phpcs --standard=PSR12 src/ tests/
34
+ - vendor/bin/phpcs ${PHPCS_FLAGS} src/ tests/
27
35
- vendor/bin/phpunit ${PHPUNIT_FLAGS}
28
36
29
37
after_script :
Original file line number Diff line number Diff line change 20
20
}
21
21
],
22
22
"require" : {
23
- "php" : " ^7.2 " ,
24
- "symfony/process" : " ^4.0" ,
23
+ "php" : " ~7.1 " ,
24
+ "symfony/process" : " ^3.4 || ^ 4.0" ,
25
25
"ext-iconv" : " *" ,
26
26
"ext-dom" : " *" ,
27
27
"ext-libxml" : " *"
You can’t perform that action at this time.
0 commit comments