Permalink
Browse files

Make travis report test failure since make test didn't report exit code

  • Loading branch information...
1 parent f6fce2e commit ebae34bab59f98d293dc83642e0cb3ec0bd0a4b8 @reeze reeze committed Jul 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -1,4 +1,3 @@
-
desc "compile php-sundown"
task :compile => ['sundown/src/markdown.h'] do
sh "phpize"
@@ -19,6 +18,7 @@ desc "run php test cases"
task :test do
ENV["TESTS"] = "--show-diff -q"
sh "make test"
+ sh "cat tests/*.diff; if [ $? -eq 0 ];then exit 1; fi"
end
desc "Run conformance tests"

0 comments on commit ebae34b

Please sign in to comment.