From ab1ee28e403e6f98c0c20ba0559035e5b1d885f5 Mon Sep 17 00:00:00 2001 From: Abel Hoogeveen Date: Wed, 18 Mar 2015 19:37:35 +0100 Subject: [PATCH] Started implementing Continuous Integration --- build.xml | 29 +++++++++++++++++++++++++++++ index.php | 9 +-------- load.php | 13 +++++++++++++ phpunit.xml | 9 +++++++++ tests/coreTest.php | 7 +++++++ 5 files changed, 59 insertions(+), 8 deletions(-) create mode 100644 build.xml create mode 100644 load.php create mode 100644 phpunit.xml create mode 100644 tests/coreTest.php diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..72f2712 --- /dev/null +++ b/build.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/index.php b/index.php index 4053923..e1d9b29 100644 --- a/index.php +++ b/index.php @@ -1,14 +1,7 @@ init(); $core->loadMod('router'); $core->mods->router->setPath( (isset($_GET['path']) ? $_GET['path'] : null) ); $core->mods->router->route(); diff --git a/load.php b/load.php new file mode 100644 index 0000000..1f050f9 --- /dev/null +++ b/load.php @@ -0,0 +1,13 @@ +init(); + +?> \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..bc5ebc2 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,9 @@ + + + + + tests + + + \ No newline at end of file diff --git a/tests/coreTest.php b/tests/coreTest.php new file mode 100644 index 0000000..15251de --- /dev/null +++ b/tests/coreTest.php @@ -0,0 +1,7 @@ +