Skip to content
Browse files

Travis setup for headless. See http://about.travis-ci.org/docs/user/s…

  • Loading branch information...
1 parent 25f8e77 commit b3e07442851e35b6970fb28f466cae4f3d18f67e @steveyken steveyken committed Feb 8, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 .travis.yml
View
2 .travis.yml
@@ -36,6 +36,8 @@ before_install: gem install bundler --pre
before_script:
- sh -c "if [ \"$DB\" = 'postgres' ]; then psql -c 'create database fat_free_crm_test;' -U postgres; fi"
- sh -c "if [ \"$DB\" = 'mysql' ]; then mysql -e 'create database fat_free_crm_test;'; fi"
+ - "export DISPLAY=:99"
+ - "sh -e /etc/init.d/xvfb start"
# Run RSpec tests and ensure that assets can compile without errors
script: "bundle exec rake && bundle exec rake assets:precompile RAILS_ENV=production"

0 comments on commit b3e0744

Please sign in to comment.
Something went wrong with that request. Please try again.