From 19bdf9a3c236bc21fb6ba1790607899bd884fae7 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Mon, 3 Mar 2014 20:48:09 -0800 Subject: [PATCH] Add Travis CI and PHPUnit configuration; Update file paths for test suite --- .travis.yml | 6 ++++++ tests/{run.php => PHPCurlClass/PHPCurlClassTest.php} | 0 tests/{ => PHPCurlClass}/helper.inc.php | 0 tests/{ => PHPCurlClass}/server.php | 0 tests/phpunit.xml | 8 ++++++++ 5 files changed, 14 insertions(+) create mode 100644 .travis.yml rename tests/{run.php => PHPCurlClass/PHPCurlClassTest.php} (100%) rename tests/{ => PHPCurlClass}/helper.inc.php (100%) rename tests/{ => PHPCurlClass}/server.php (100%) create mode 100644 tests/phpunit.xml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..88f3b45 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: php +before_script: cd tests +php: + - 5.5 + - 5.4 + - 5.3 diff --git a/tests/run.php b/tests/PHPCurlClass/PHPCurlClassTest.php similarity index 100% rename from tests/run.php rename to tests/PHPCurlClass/PHPCurlClassTest.php diff --git a/tests/helper.inc.php b/tests/PHPCurlClass/helper.inc.php similarity index 100% rename from tests/helper.inc.php rename to tests/PHPCurlClass/helper.inc.php diff --git a/tests/server.php b/tests/PHPCurlClass/server.php similarity index 100% rename from tests/server.php rename to tests/PHPCurlClass/server.php diff --git a/tests/phpunit.xml b/tests/phpunit.xml new file mode 100644 index 0000000..8eccd99 --- /dev/null +++ b/tests/phpunit.xml @@ -0,0 +1,8 @@ + + + . + + + + +