Skip to content

Commit b1856e3

Browse files
authored
Merge pull request #167 from kubawerlos/infection-update
Infection - use coverage from PHPUnit run
2 parents 7d1dcd8 + a71a811 commit b1856e3

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
cd $TRAVIS_BUILD_DIR
5353
install: composer require --dev php-coveralls/php-coveralls
5454
script:
55-
- composer test -- --coverage-clover=./build/logs/clover.xml
56-
- composer infection
55+
- composer test -- --coverage-clover=./build/logs/clover.xml --coverage-xml=./build/coverage/coverage-xml --log-junit=./build/coverage/phpunit.junit.xml
56+
- composer infection -- --coverage=./build/coverage/
5757
after_success: ./vendor/bin/php-coveralls
5858

5959
- php: '7.4snapshot'

infection.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"$schema": "./dev-tools/vendor/infection/infection/resources/schema.json",
33
"source": {
44
"directories": [
5-
"./src",
6-
"./dev-tools/src"
5+
"./src"
76
]
87
},
98
"timeout": 10,

phpunit.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
<filter>
4040
<whitelist>
4141
<directory>./src</directory>
42-
<directory>./dev-tools/src</directory>
4342
<exclude>
4443
<file>./dev-tools/src/Readme/php-cs-fixer.config.after.php</file>
4544
<file>./dev-tools/src/Readme/php-cs-fixer.config.before.php</file>

0 commit comments

Comments
 (0)