1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-31 03:10:09 +02:00

Travis support.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
This commit is contained in:
Edward Z. Yang
2016-07-20 22:21:24 -07:00
parent 34d252cbbc
commit 20b40a5441
3 changed files with 90 additions and 1 deletions

View File

@@ -212,6 +212,12 @@ if ($AC['file']) {
if ($AC['dry']) $reporter->makeDry();
$test->run($reporter);
$result = $test->run($reporter);
if ($result) {
exit(0); // Success!
} else {
exit(1); // Abject failure.
}
// vim: et sw=4 sts=4