Fix travis

This commit is contained in:
randx 2012-06-17 18:33:13 +03:00
parent dbc7ef21d1
commit cd3f55a310
2 changed files with 12 additions and 1 deletions

View file

@ -48,3 +48,14 @@ Given /^I see compared refs$/ do
page.should have_content "Showing 73 changed files"
end
Given /^I visit project branches page$/ do
pending # express the regexp above with the code you wish you had
end
Given /^I visit project commit page$/ do
pending # express the regexp above with the code you wish you had
end
Given /^I visit project tags page$/ do
pending # express the regexp above with the code you wish you had
end

View file

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