phpunit.xml.travisci 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit bootstrap="tests/bootstrap.php"
  3. colors="true"
  4. convertErrorsToExceptions="true"
  5. convertNoticesToExceptions="true"
  6. convertWarningsToExceptions="true"
  7. processIsolation="false"
  8. stopOnError="false"
  9. stopOnFailure="false"
  10. syntaxCheck="true"
  11. beStrictAboutTestSize="true"
  12. beStrictAboutTestsThatDoNotTestAnything="true">
  13. <testsuites>
  14. <testsuite name="Predis Test Suite">
  15. <directory>tests/Predis/</directory>
  16. </testsuite>
  17. </testsuites>
  18. <groups>
  19. <exclude>
  20. <group>ext-phpiredis</group>
  21. <group>ext-curl</group>
  22. <group>realm-webdis</group>
  23. <!-- <group>connected</group> -->
  24. <!-- <group>disconnected</group> -->
  25. <!-- <group>commands</group> -->
  26. <!-- <group>slow</group> -->
  27. </exclude>
  28. </groups>
  29. <filter>
  30. <whitelist>
  31. <directory suffix=".php">src/</directory>
  32. </whitelist>
  33. </filter>
  34. <logging>
  35. <log type="coverage-text" target="php://stdout" />
  36. </logging>
  37. <php>
  38. <!-- Redis -->
  39. <const name="REDIS_SERVER_HOST" value="127.0.0.1" />
  40. <const name="REDIS_SERVER_PORT" value="6379" />
  41. <const name="REDIS_SERVER_DBNUM" value="15" />
  42. <!-- Webdis -->
  43. <const name="WEBDIS_SERVER_HOST" value="127.0.0.1" />
  44. <const name="WEBDIS_SERVER_PORT" value="7379" />
  45. </php>
  46. </phpunit>