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).
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | |
|          xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
 | |
|          bootstrap="../boot.php"
 | |
|          forceCoversAnnotation="false"
 | |
|          beStrictAboutCoversAnnotation="true"
 | |
|          beStrictAboutOutputDuringTests="true"
 | |
|          beStrictAboutTodoAnnotatedTests="true"
 | |
|          verbose="true">
 | |
|     <testsuite name="Hubzilla default Test Suite">
 | |
|         <directory suffix="Test.php">./unit/</directory>
 | |
|     </testsuite>
 | |
|     <testsuite name="API Test Suite">
 | |
|         <directory suffix="Test.php" prefix="API">./unit/</directory>
 | |
|     </testsuite>
 | |
|     <groups>
 | |
|         <exclude>
 | |
|             <group>mysql</group>
 | |
|         </exclude>
 | |
|     </groups>
 | |
|     <!--cover reporting-->
 | |
|     <filter>
 | |
|         <whitelist processUncoveredFilesFromWhitelist="true">
 | |
|             <directory suffix=".php">../Zotlabs/</directory>
 | |
|             <directory suffix=".php">../include/</directory>
 | |
|         </whitelist>
 | |
|     </filter>
 | |
|     <logging>
 | |
|         <log type="junit" target="./results/junit.xml" logIncompleteSkipped="false"/>
 | |
|         <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>
 |