phpunit.xml.travisci 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit bootstrap="tests/bootstrap.php" colors="true" strict="true">
  3. <testsuites>
  4. <testsuite name="Predis Test Suite">
  5. <directory>tests/Predis/</directory>
  6. </testsuite>
  7. </testsuites>
  8. <groups>
  9. <exclude>
  10. <group>ext-phpiredis</group>
  11. <group>ext-curl</group>
  12. <group>realm-webdis</group>
  13. <!-- <group>connected</group> -->
  14. <!-- <group>disconnected</group> -->
  15. <!-- <group>commands</group> -->
  16. <!-- <group>slow</group> -->
  17. </exclude>
  18. </groups>
  19. <filter>
  20. <whitelist>
  21. <directory suffix=".php">lib/Predis/</directory>
  22. </whitelist>
  23. </filter>
  24. <logging>
  25. <log type="coverage-text" target="php://stdout" />
  26. </logging>
  27. <php>
  28. <!-- Redis -->
  29. <const name="REDIS_SERVER_VERSION" value="2.6" />
  30. <const name="REDIS_SERVER_HOST" value="127.0.0.1" />
  31. <const name="REDIS_SERVER_PORT" value="6379" />
  32. <const name="REDIS_SERVER_DBNUM" value="15" />
  33. <!-- Webdis -->
  34. <const name="WEBDIS_SERVER_HOST" value="127.0.0.1" />
  35. <const name="WEBDIS_SERVER_PORT" value="7379" />
  36. </php>
  37. </phpunit>