Fail CI if exitstatus isn't 0. *sigh*
This commit is contained in:
parent
d13f8e12c8
commit
564217684f
1 changed files with 1 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
desc "Run all specs and features"
|
desc "Run all specs and features"
|
||||||
task :ci => [:environment] do
|
task :ci => [:environment] do
|
||||||
system "bundle exec rake"
|
system "bundle exec rake"
|
||||||
|
raise "tests failed!" unless $?.exitstatus == 0
|
||||||
end
|
end
|
||||||
Loading…
Reference in a new issue