.travis.yml
language: ruby
bundler_args: --without development production
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
before_script:
- bundle check
- cp yamls/database.yml.travisCI config/database.yml
- mysql -e 'create database le_test;'
- RAILS_ENV=test bundle exec rake db:migrate
- RAILS_ENV=test bundle exec rake db:test:prepare
script:
- RAILS_ENV=test bundle exec rspec spec
- RAILS_ENV=test bundle exec cucumber --profile travis
rvm:
- 1.9.2
- 1.9.3
gemfile:
- Gemfile
branches:
only:
- master
- devel