Change travis rake task

This commit is contained in:
Dmitriy Zaporozhets 2012-12-19 19:44:15 +02:00
parent c0160d008c
commit 4ea9b3331f
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
task :travis do
["spinach", "rspec spec"].each do |cmd|
["rake spinach", "rake spec"].each do |cmd|
puts "Starting to run #{cmd}..."
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0