fix travis.yml
This commit is contained in:
parent
a6114f137b
commit
c1147306be
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ services:
|
||||||
before_install:
|
before_install:
|
||||||
- "export DISPLAY=:99.0"
|
- "export DISPLAY=:99.0"
|
||||||
- "sh -e /etc/init.d/xvfb start"
|
- "sh -e /etc/init.d/xvfb start"
|
||||||
|
before_script:
|
||||||
- "bundle exec rake foodsoft:setup:stock_config"
|
- "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'
|
- '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
|
script: bundle exec rake spec
|
||||||
|
|
Loading…
Reference in a new issue