.travis.yml
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
language: ruby
rvm:
- "2.2.0"
services:
- mongodb
addons:
code_climate:
repo_token: d49f8dbfbd5b98f0bc8ddaf095fbaa5e91009f01b610261bd7799b5f2b7f709b
script:
- cd dummy
- ln -s ../.git .git
- cp config/database.travis.yml config/database.yml
- RAILS_ENV=test bundle exec rake db:create
- bundle exec rake db:test:prepare
- CODECLIMATE_REPO_TOKEN=d49f8dbfbd5b98f0bc8ddaf095fbaa5e91009f01b610261bd7799b5f2b7f709b bundle exec cucumber