Commit 60db88ad347a40a95d3004c69c3f00e215f8472c
1 parent
cd3f55a3
Exists in
master
and in
4 other branches
Lets change how cucumber run on travis
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/travis.rake
| 1 | task :travis do | 1 | task :travis do |
| 2 | - ["bundle exec rake cucumber", "bundle exec rspec spec"].each do |cmd| | 2 | + ["cucumber", "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 |