Commit cd3f55a3 authored by randx's avatar randx

Fix travis

parent dbc7ef21
......@@ -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
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment