Skip to content
Snippets Groups Projects
Commit cd3f55a3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix travis

parent dbc7ef21
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment