phpunit.xml.travisci 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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_VERSION" value="3.2" />
  40. <const name="REDIS_SERVER_HOST" value="127.0.0.1" />
  41. <const name="REDIS_SERVER_PORT" value="6379" />
  42. <const name="REDIS_SERVER_DBNUM" value="15" />
  43. <!-- Webdis -->
  44. <const name="WEBDIS_SERVER_HOST" value="127.0.0.1" />
  45. <const name="WEBDIS_SERVER_PORT" value="7379" />
  46. </php>
  47. </phpunit>