diff --git a/.travis.yml b/.travis.yml index f7fcc449..9802a760 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ before_script: # (permissions of 777 are bad, but it definitely works) - chmod -R 777 . -script: php tests/simple_test.php -d $DB -u http://127.0.0.1/ +script: php tests/test_install.php -d $DB # configure notifications (email, IRC, campfire etc) #notifications: diff --git a/tests/test_install.php b/tests/test_install.php new file mode 100644 index 00000000..346cb1f0 --- /dev/null +++ b/tests/test_install.php @@ -0,0 +1,27 @@ +options = getopt("d:"); + $this->database = $this->options["d"]; + } + + function testOptions() { + print_r($this->options); + $this->assertNotNull($this->database); + } + + function installShimmie() + { + $this->get('http://127.0.0.1/'); + $this->assertResponse(200); + } + +}