12 lines
351 B
YAML
12 lines
351 B
YAML
language: ruby
|
|
rvm:
|
|
- 1.9.3
|
|
services:
|
|
- redis-server
|
|
before_install:
|
|
- "export DISPLAY=:99.0"
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
- "bundle exec rake foodsoft:setup:stock_config"
|
|
- 'printf "test:\r\n adapter:mysql2\r\n database:foodsoft_test\r\n username:travis\r\n encoding:utf8\r\n" >config/database.yml'
|
|
script: bundle exec rake spec
|