Skip to content
Permalink
Browse files

Merge pull request #167 from kubawerlos/infection-update

Infection - use coverage from PHPUnit run
  • Loading branch information...
kubawerlos committed Oct 23, 2019
2 parents 7d1dcd8 + a71a811 commit b1856e3e473176dc75561545e72e9ada61dd0d45
Showing with 3 additions and 5 deletions.
  1. +2 −2 .travis.yml
  2. +1 −2 infection.json
  3. +0 −1 phpunit.xml
@@ -52,8 +52,8 @@ jobs:
cd $TRAVIS_BUILD_DIR
install: composer require --dev php-coveralls/php-coveralls
script:
- composer test -- --coverage-clover=./build/logs/clover.xml
- composer infection
- composer test -- --coverage-clover=./build/logs/clover.xml --coverage-xml=./build/coverage/coverage-xml --log-junit=./build/coverage/phpunit.junit.xml
- composer infection -- --coverage=./build/coverage/
after_success: ./vendor/bin/php-coveralls

- php: '7.4snapshot'
@@ -2,8 +2,7 @@
"$schema": "./dev-tools/vendor/infection/infection/resources/schema.json",
"source": {
"directories": [
"./src",
"./dev-tools/src"
"./src"
]
},
"timeout": 10,
@@ -39,7 +39,6 @@
<filter>
<whitelist>
<directory>./src</directory>
<directory>./dev-tools/src</directory>
<exclude>
<file>./dev-tools/src/Readme/php-cs-fixer.config.after.php</file>
<file>./dev-tools/src/Readme/php-cs-fixer.config.before.php</file>

0 comments on commit b1856e3

Please sign in to comment.
You can’t perform that action at this time.