Print cucumber backtraces for travis on failure.
This commit is contained in:
parent
70dacfcef2
commit
4d19117351
2
Rakefile
2
Rakefile
@ -71,7 +71,7 @@ task :spec_nix do
|
|||||||
end
|
end
|
||||||
|
|
||||||
task :travis do
|
task :travis do
|
||||||
["rspec spec", "cucumber"].each do |cmd|
|
["rspec spec", "cucumber -b"].each do |cmd|
|
||||||
puts "Starting to run #{cmd}..."
|
puts "Starting to run #{cmd}..."
|
||||||
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
|
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
|
||||||
raise "#{cmd} failed!" unless $?.exitstatus == 0
|
raise "#{cmd} failed!" unless $?.exitstatus == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user