Commit cd3f55a310546151a82ac48abcfcdc8da2740b7e

Authored by randx
1 parent dbc7ef21

Fix travis

features/step_definitions/commits_steps.rb
... ... @@ -48,3 +48,14 @@ Given /^I see compared refs$/ do
48 48 page.should have_content "Showing 73 changed files"
49 49 end
50 50  
  51 +Given /^I visit project branches page$/ do
  52 + pending # express the regexp above with the code you wish you had
  53 +end
  54 +
  55 +Given /^I visit project commit page$/ do
  56 + pending # express the regexp above with the code you wish you had
  57 +end
  58 +
  59 +Given /^I visit project tags page$/ do
  60 + pending # express the regexp above with the code you wish you had
  61 +end
... ...
lib/tasks/travis.rake
1 1 task :travis do
2   - ["rspec spec", "rake cucumber"].each do |cmd|
  2 + ["bundle exec rake cucumber", "bundle exec rspec spec"].each do |cmd|
3 3 puts "Starting to run #{cmd}..."
4 4 system("export DISPLAY=:99.0 && bundle exec #{cmd}")
5 5 raise "#{cmd} failed!" unless $?.exitstatus == 0
... ...