.travis.yml
language: ruby
rvm:
- 2.1.2
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- mysql -e 'create database active_admin_jcrop_test'
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rspec spec
bundler_args: --binstubs=./bundler_stubs