forked from LiveCarta/PayPal-PHP-SDK
Updated Testing Framework fixing Travis Builds
- Created separate PHPUnit Test for Integration
This commit is contained in:
@@ -5,6 +5,9 @@ php:
|
|||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
- hhvm
|
- hhvm
|
||||||
|
env:
|
||||||
|
- CONFIGURATION_FILE=phpunit.xml
|
||||||
|
- CONFIGURATION_FILE=phpunit.integration.xml
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
|
|||||||
32
phpunit.integration.xml
Normal file
32
phpunit.integration.xml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit bootstrap="./tests/bootstrap.php"
|
||||||
|
colors="true"
|
||||||
|
processIsolation="false"
|
||||||
|
stopOnFailure="false"
|
||||||
|
syntaxCheck="false"
|
||||||
|
convertErrorsToExceptions="true"
|
||||||
|
convertNoticesToExceptions="true"
|
||||||
|
convertWarningsToExceptions="true"
|
||||||
|
testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader">
|
||||||
|
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="All">
|
||||||
|
<directory>tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
|
||||||
|
<logging>
|
||||||
|
<log type="junit" target="build/junit.xml" logIncompleteSkipped="false" />
|
||||||
|
<log type="coverage-html" target="build/coverage/" charset="UTF-8"
|
||||||
|
highlight="true" lowUpperBound="35" highLowerBound="70"/>
|
||||||
|
<log type="coverage-clover" target="build/coverage/clover.xml"/>
|
||||||
|
</logging>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory suffix=".php">./lib</directory>
|
||||||
|
<exclude>
|
||||||
|
</exclude>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
</phpunit>
|
||||||
@@ -17,9 +17,7 @@
|
|||||||
|
|
||||||
<groups>
|
<groups>
|
||||||
<exclude>
|
<exclude>
|
||||||
<group>
|
<group>integration</group>
|
||||||
integration
|
|
||||||
</group>
|
|
||||||
</exclude>
|
</exclude>
|
||||||
</groups>
|
</groups>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user