👷Improve Travis, add PHP7.2.
Improve Travis CI configuration a bit and add PHP7.2 to the test matrix. Add PHPUnit Testdox output and optionally deploy test results on release tags. Add a configuration file for infection (Mutation Testing Framework).
This commit is contained in:
15
tests/infection.json.dist
Normal file
15
tests/infection.json.dist
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"timeout": 13,
|
||||
"source": {
|
||||
"directories": [
|
||||
"include",
|
||||
"Zotlabs"
|
||||
]
|
||||
},
|
||||
"logs": {
|
||||
"text": "tests/results/infection-log.txt"
|
||||
},
|
||||
"phpUnit": {
|
||||
"configDir": "tests"
|
||||
}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
phpunit-mysql.xml
|
@@ -30,5 +30,6 @@
|
||||
<log type="coverage-clover" target="./results/coverage-clover.xml"/>
|
||||
<log type="coverage-html" target="./results/coverage-report/" lowUpperBound="35"
|
||||
highLowerBound="70"/>
|
||||
<log type="testdox-text" target="./results/testdox.txt"/>
|
||||
</logging>
|
||||
</phpunit>
|
||||
|
@@ -14,7 +14,7 @@
|
||||
<directory suffix="Test.php" prefix="API">./unit/</directory>
|
||||
</testsuite>
|
||||
<testsuite name="Ex-/Import Test Suite">
|
||||
<directory suffix="Test.php">./unit/eximport/</directory>
|
||||
<!--<directory suffix="Test.php">./unit/eximport/</directory>-->
|
||||
</testsuite>
|
||||
<groups>
|
||||
<exclude>
|
||||
@@ -33,5 +33,6 @@
|
||||
<log type="coverage-clover" target="./results/coverage-clover.xml"/>
|
||||
<log type="coverage-html" target="./results/coverage-report/" lowUpperBound="35"
|
||||
highLowerBound="70"/>
|
||||
<log type="testdox-text" target="./results/testdox.txt"/>
|
||||
</logging>
|
||||
</phpunit>
|
Reference in New Issue
Block a user