Commit 8189082e authored by randx's avatar randx

fix ci run

parent 6745a5e5
......@@ -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"
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
......
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