2013-04-20 11:37:39 +02:00
|
|
|
language: ruby
|
|
|
|
rvm:
|
|
|
|
- 2.0.0
|
|
|
|
before_install:
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
|
|
before_script:
|
2014-09-06 12:39:10 -04:00
|
|
|
- cp config/database.yml.travis config/database.yml
|
2014-09-06 12:52:34 -04:00
|
|
|
- psql -c 'create database travis_ci_test;' -U postgres
|
2014-09-11 19:11:11 -04:00
|
|
|
# consider dumping sql via db:structure:dump then loading directly into psql
|
|
|
|
# "psql -U postgres -q -d DB_NAME -f db/structure.sql"
|
|
|
|
- bundle exec rake db:test:prepare
|
2014-09-10 00:10:21 -04:00
|
|
|
script: bundle exec cucumber
|
|
|
|
env: RAILS_ENV=test
|