added database configuration for Travis CI
This commit is contained in:
@ -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
|
||||
|
4
config/database.yml.travis
Normal file
4
config/database.yml.travis
Normal file
@ -0,0 +1,4 @@
|
||||
test:
|
||||
adapter: postgresql
|
||||
database: travis_ci_test
|
||||
username: postgres
|
Reference in New Issue
Block a user