diff options
author | Anthony Ferrara <ircmaxell@gmail.com> | 2013-02-04 11:32:22 -0500 |
---|---|---|
committer | Anthony Ferrara <ircmaxell@gmail.com> | 2013-02-04 11:32:22 -0500 |
commit | 6393e6d1ee292126e7a0e1f8df95e00c6a13f0e0 (patch) | |
tree | 35d1241f8805d011a86bec4f79c7d56f818d3c8b | |
parent | d3fe97fa5e9a2096f1329714aa8de4936c345a7e (diff) | |
download | password_compat-6393e6d1ee292126e7a0e1f8df95e00c6a13f0e0.zip password_compat-6393e6d1ee292126e7a0e1f8df95e00c6a13f0e0.tar.gz password_compat-6393e6d1ee292126e7a0e1f8df95e00c6a13f0e0.tar.bz2 |
Add travis config file
-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'; |