Commit 4ea9b333 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Change travis rake task

parent c0160d00
task :travis do task :travis do
["spinach", "rspec spec"].each do |cmd| ["rake spinach", "rake 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment