Skip to content

Commit 4f81271

Browse files
committed
run coverage before lint
1 parent e6fb1cb commit 4f81271

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ jobs:
2121
script:
2222
- vendor/bin/phpunit --no-coverage
2323

24-
- stage: lint
25-
php: 7.1
26-
before_script:
27-
- composer create-project symplify/easy-coding-standard temp/ecs
28-
script:
29-
- temp/ecs/bin/ecs check src tests
30-
- vendor/bin/phpstan analyse src --level max --configuration phpstan.neon
31-
3224
- stage: coverage
3325
php: 7.1
3426
script:
@@ -37,6 +29,14 @@ jobs:
3729
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
3830
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar && php coveralls.phar --verbose
3931

32+
- stage: lint
33+
php: 7.1
34+
before_script:
35+
- composer create-project symplify/easy-coding-standard temp/ecs
36+
script:
37+
- temp/ecs/bin/ecs check src tests
38+
- vendor/bin/phpstan analyse src --level max --configuration phpstan.neon
39+
4040
cache:
4141
directories:
4242
- $HOME/.composer/cache/files

0 commit comments

Comments
 (0)