Lets change how cucumber run on travis
This commit is contained in:
parent
cd3f55a310
commit
60db88ad34
|
@ -1,5 +1,5 @@
|
||||||
task :travis do
|
task :travis do
|
||||||
["bundle exec rake cucumber", "bundle exec rspec spec"].each do |cmd|
|
["cucumber", "rspec spec"].each do |cmd|
|
||||||
puts "Starting to run #{cmd}..."
|
puts "Starting to run #{cmd}..."
|
||||||
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
|
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
|
||||||
raise "#{cmd} failed!" unless $?.exitstatus == 0
|
raise "#{cmd} failed!" unless $?.exitstatus == 0
|
||||||
|
|
Loading…
Reference in a new issue