From 8189082e4c48d2181158dcba1791e0cf6dd6ef1c Mon Sep 17 00:00:00 2001 From: randx <dmitriy.zaporozhets@gmail.com> Date: Sat, 16 Jun 2012 13:20:17 +0300 Subject: [PATCH] fix ci run --- .travis.yml | 3 +-- lib/tasks/travis.rake | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 309cd5b6037..0c03e38993d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,5 @@ before_script: - "bundle exec rake db:create RAILS_ENV=test" - "bundle exec rake db:migrate RAILS_ENV=test" - "bundle exec rake db:seed_fu RAILS_ENV=test" - - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" -script: "bundle exec rake gitlab:test" +script: "bundle exec rake travis" diff --git a/lib/tasks/travis.rake b/lib/tasks/travis.rake index 30392a0735f..91e2f8e1968 100644 --- a/lib/tasks/travis.rake +++ b/lib/tasks/travis.rake @@ -1,5 +1,5 @@ task :travis do - ["rspec spec"].each do |cmd| + ["rspec spec", "rake cuucmber"].each do |cmd| puts "Starting to run #{cmd}..." system("export DISPLAY=:99.0 && bundle exec #{cmd}") raise "#{cmd} failed!" unless $?.exitstatus == 0 -- 2.30.9