Allow travis to use sample .yml files

This commit is contained in:
Robin Ward 2013-02-12 16:30:56 -05:00
parent 824b09389f
commit eea6eeb07a
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ language: ruby
rvm: rvm:
- 1.9.3 - 1.9.3
before_script: before_script:
- cp config/database.yml.sample config/database.yml
- cp config/redis.yml.sample config/redis.yml
- psql -c 'create database discourse_test;' -U postgres - psql -c 'create database discourse_test;' -U postgres
- rake db:migrate - rake db:migrate
script: 'rake spec && bundle exec guard-jasmine --server-timeout=60' script: 'rake spec && bundle exec guard-jasmine --server-timeout=60'