.travis.yml
language: ruby
cache: bundler
rvm:
- 1.9.3
env:
- DB=sqlite
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- RAILS_ENV=test bundle exec rake db:migrate
- bundle exec rake db:test:prepare
- bundle exec rspec spec
- bundle exec cucumber --tags ~@javascript