Fix travis
This commit is contained in:
parent
dbc7ef21d1
commit
cd3f55a310
2 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
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…
Add table
Add a link
Reference in a new issue