👷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:
Klaus Weidenbach
2017-11-24 23:38:41 +01:00
parent e1fdac3278
commit ee929752e3
5 changed files with 37 additions and 7 deletions

15
tests/infection.json.dist Normal file
View File

@@ -0,0 +1,15 @@
{
"timeout": 13,
"source": {
"directories": [
"include",
"Zotlabs"
]
},
"logs": {
"text": "tests/results/infection-log.txt"
},
"phpUnit": {
"configDir": "tests"
}
}

View File

@@ -1 +0,0 @@
phpunit-mysql.xml

View File

@@ -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>

View File

@@ -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>