Skip to content

Commit 7e7bd94

Browse files
committed
Moved infection config to test directory.
1 parent 2ae2ffb commit 7e7bd94

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ script:
3030
- composer test -- --coverage-clover=build/logs/clover.xml --coverage-xml=build/coverage/coverage-xml
3131
--log-junit=build/coverage/phpunit.junit.xml
3232
- travis_retry bash <(curl -s https://codecov.io/bash) || true
33-
- vendor/bin/infection --min-msi=95 --threads=$(nproc) --coverage=build/coverage
33+
- composer mutation -- --min-msi=100 --threads=$(nproc) --show-mutations --coverage=build/coverage

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
}
4040
},
4141
"scripts": {
42-
"test": "phpunit -c test"
42+
"test": "phpunit -c test",
43+
"mutation": "infection --configuration=test/infection.json"
4344
},
4445
"config": {
4546
"sort-packages": true

infection.json renamed to test/infection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
]
77
},
88
"phpUnit": {
9-
"configDir": "test"
9+
"configDir": "."
1010
},
1111
"logs": {
1212
"text": "infection.log",

0 commit comments

Comments
 (0)