You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
457 B
14 lines
457 B
language: ruby
|
|
rvm:
|
|
- 2.3.1
|
|
before_install:
|
|
- "export DISPLAY=:99.0"
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
before_script:
|
|
- cp config/database.yml.travis config/database.yml
|
|
- psql -c 'create database travis_ci_test;' -U postgres
|
|
# 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
|
|
script: bundle exec cucumber
|
|
env: RAILS_ENV=test
|
|
|