File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,28 +2,27 @@ language: php
22php : [7.1, 7.2, nightly ]
33sudo : false
44
5- matrix :
6- include :
7- - php : 7.1
8- env : ECS=true
9- - php : 7.1
10- env : PHPSTAN=true
11-
125env :
136 global :
147 - VERSION=$(echo $TRAVIS_TAG | cut -c 2-10)
158
169install :
1710- composer install --no-interaction --prefer-dist -o
18- - if [[ $ECS != "" ]]; then composer create-project symplify/easy-coding-standard temp/ecs; fi
1911
2012jobs :
2113 include :
2214 - stage : Test
2315 script :
2416 - vendor/bin/phpunit
25- - if [[ $ECS != "" ]]; then temp/ecs/bin/ecs check src tests; fi
26- - if [[ $PHPSTAN != "" ]]; then vendor/bin/phpstan analyse src --level max --configuration phpstan.neon; fi
17+
18+ - stage : lint
19+ php : 7.1
20+ script : vendor/bin/phpstan analyse src --level max --configuration phpstan.neon;
21+
22+ - stage lint
23+ php : 7.1
24+ script : temp/ecs/bin/ecs check src tests;
25+ before_script : composer create-project symplify/easy-coding-standard temp/ecs;
2726
2827 - stage : Coverage
2928 php : 7.1
You can’t perform that action at this time.
0 commit comments