Skip to content
Snippets Groups Projects
Commit 37346ead authored by gitlabhq's avatar gitlabhq
Browse files

travis

parent ed5e19a5
No related branches found
No related tags found
No related merge requests found
branches:
only:
- 'master'
rvm: 1.9.2
before_script:
- "bundle exec rake db:seed_fu RAILS_ENV=test"
- "sh -e /etc/init.d/xvfb start"
script: "bundle exec rake travis"
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment