Commit cd3f55a310546151a82ac48abcfcdc8da2740b7e
1 parent
dbc7ef21
Exists in
master
and in
4 other branches
Fix travis
Showing
2 changed files
with
12 additions
and
1 deletions
Show diff stats
features/step_definitions/commits_steps.rb
| @@ -48,3 +48,14 @@ Given /^I see compared refs$/ do | @@ -48,3 +48,14 @@ Given /^I see compared refs$/ do | ||
| 48 | page.should have_content "Showing 73 changed files" | 48 | page.should have_content "Showing 73 changed files" |
| 49 | end | 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 | task :travis do | 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 | puts "Starting to run #{cmd}..." | 3 | puts "Starting to run #{cmd}..." |
| 4 | system("export DISPLAY=:99.0 && bundle exec #{cmd}") | 4 | system("export DISPLAY=:99.0 && bundle exec #{cmd}") |
| 5 | raise "#{cmd} failed!" unless $?.exitstatus == 0 | 5 | raise "#{cmd} failed!" unless $?.exitstatus == 0 |