added database configuration for Travis CI

This commit is contained in:
Hauke Klement
2015-01-28 18:33:25 +01:00
parent f36b2bb7d8
commit e9ec495b75
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,6 @@
before_script:
- cp config/database.yml.travis config/database.yml
- psql --command='CREATE DATABASE travis_ci_test;' --username=postgres
language: ruby
rvm:
- 2.1.5

View File

@ -0,0 +1,4 @@
test:
adapter: postgresql
database: travis_ci_test
username: postgres