This commit is contained in:
gitlabhq 2011-11-15 08:42:01 -05:00
parent ed5e19a518
commit 37346ead30
2 changed files with 15 additions and 0 deletions

7
lib/tasks/travis.rake Normal file
View file

@ -0,0 +1,7 @@
task :travis do
["rspec spec"].each do |cmd|
puts "Starting to run #{cmd}..."
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0
end
end