File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -2,28 +2,27 @@ language: php
2
2
php : [7.1, 7.2, nightly ]
3
3
sudo : false
4
4
5
- matrix :
6
- include :
7
- - php : 7.1
8
- env : ECS=true
9
- - php : 7.1
10
- env : PHPSTAN=true
11
-
12
5
env :
13
6
global :
14
7
- VERSION=$(echo $TRAVIS_TAG | cut -c 2-10)
15
8
16
9
install :
17
10
- composer install --no-interaction --prefer-dist -o
18
- - if [[ $ECS != "" ]]; then composer create-project symplify/easy-coding-standard temp/ecs; fi
19
11
20
12
jobs :
21
13
include :
22
14
- stage : Test
23
15
script :
24
16
- 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;
27
26
28
27
- stage : Coverage
29
28
php : 7.1
You can’t perform that action at this time.
0 commit comments