diff options
-rw-r--r-- | .travis.yml | 9 | ||||
-rw-r--r-- | phpunit.xml.dist (renamed from test/phpunit.xml.dist) | 6 | ||||
-rw-r--r-- | test/bootstrap.php | 3 |
3 files changed, 12 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..67eaeac --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: php + +php: + - 5.5 + - 5.4 + - 5.3 + - 5.3.7 + +script: phpunit --configuration phpunit.xml.dist
\ No newline at end of file diff --git a/test/phpunit.xml.dist b/phpunit.xml.dist index 0a8a1cd..b2b3afb 100644 --- a/test/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="true" backupStaticAttributes="false" - bootstrap="./bootstrap.php" + bootstrap="lib/password.php" colors="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" @@ -18,12 +18,12 @@ verbose="false"> <testsuites> <testsuite name="Unit"> - <directory>./Unit</directory> + <directory>test/Unit</directory> </testsuite> </testsuites> <filter> <whitelist> - <directory suffix=".php">../lib/</directory> + <directory suffix=".php">lib/</directory> </whitelist> </filter> </phpunit> diff --git a/test/bootstrap.php b/test/bootstrap.php deleted file mode 100644 index 0ff4971..0000000 --- a/test/bootstrap.php +++ /dev/null @@ -1,3 +0,0 @@ -<?php - -require_once '../lib/password.php'; |