File tree 3 files changed +30
-3
lines changed
3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change
1
+ service_name : travis-ci
2
+ coverage_clover : coverage.xml
3
+ json_path : coverage.json
Original file line number Diff line number Diff line change @@ -14,6 +14,24 @@ install:
14
14
- composer install --no-interaction --prefer-dist
15
15
16
16
script :
17
- - php vendor/bin/phpcs --standard=PSR12 --ignore=./src/Resources ./src ./tests
18
- - php vendor/bin/phpstan analyse ./src ./tests --level 7
19
17
- php vendor/bin/phpunit
18
+
19
+ jobs :
20
+ include :
21
+ - stage : Code Static Analyze (phpstan)
22
+ php : 7.2
23
+ script :
24
+ - php vendor/bin/phpstan analyse ./src ./tests --level 7
25
+
26
+ - stage : Code Standard Checker
27
+ php : 7.2
28
+ script :
29
+ - php vendor/bin/phpcs --standard=PSR12 --ignore=./src/Resources ./src ./tests
30
+
31
+ - stage : Code Coverage
32
+ php : 7.2
33
+ script :
34
+ - php vendor/bin/phpunit --coverage-clover ./coverage.xml
35
+ after_script :
36
+ - wget https://github.com/satooshi/php-coveralls/releases/download/v2.1.0/php-coveralls.phar
37
+ - php php-coveralls.phar --verbose
Original file line number Diff line number Diff line change 7
7
<env name =" KERNEL_CLASS" value =" FreezyBee\DataGridBundle\Tests\App\Kernel" />
8
8
</php >
9
9
10
+ <filter >
11
+ <whitelist >
12
+ <directory suffix =" .php" >./src</directory >
13
+ </whitelist >
14
+ </filter >
15
+
10
16
<testsuites >
11
- <testsuite name =" My Test Suite" >
17
+ <testsuite name =" Test Suite" >
12
18
<directory >./tests/*</directory >
13
19
</testsuite >
14
20
</testsuites >
You can’t perform that action at this time.
0 commit comments