File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 7
7
matrix :
8
8
include :
9
9
- php : 7.1
10
- env : STATIC_ANALYSIS=true
10
+ env : ECS=true
11
+ - php : 7.1
12
+ env : PHPSTAN=true
11
13
12
14
cache :
13
15
directories :
14
16
- $HOME/.composer/cache
15
17
16
18
install :
17
19
- composer install --no-interaction
18
- # coding style
19
- - if [[ $STATIC_ANALYSIS != "" ]]; then composer create-project symplify/easy-coding-standard temp/ecs; fi
20
+ - if [[ $ECS != "" ]]; then composer create-project symplify/easy-coding-standard temp/ecs; fi
20
21
21
22
script :
22
23
- vendor/bin/phpunit --coverage-clover=coverage.xml -v
23
- # coding style
24
- - if [[ $STATIC_ANALYSIS != "" ]]; then temp/ecs/bin/ecs check src tests; fi
25
- - if [[ $STATIC_ANALYSIS != "" ]]; then vendor/bin/phpstan analyse src --level max --configuration phpstan.neon; fi
24
+ - if [[ $ECS != "" ]]; then temp/ecs/bin/ecs check src tests; fi
25
+ - if [[ $PHPSTAN != "" ]]; then vendor/bin/phpstan analyse src tests --level max --configuration phpstan.neon; fi
26
26
27
27
after_script :
28
28
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar;
You can’t perform that action at this time.
0 commit comments