diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..1cd24758 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: php +php: + - '5.4' + - '5.5' + - '5.6' + - '7.0' +before_script: + - git clone --depth=50 https://github.com/ezyang/simpletest.git + - cp test-settings.travis.php test-settings.php +script: + - php tests/index.php diff --git a/test-settings.travis.php b/test-settings.travis.php new file mode 100644 index 00000000..b1edce4a --- /dev/null +++ b/test-settings.travis.php @@ -0,0 +1,72 @@ +makeDry(); -$test->run($reporter); +$result = $test->run($reporter); + +if ($result) { + exit(0); // Success! +} else { + exit(1); // Abject failure. +} // vim: et sw=4 sts=4