diff --git a/.travis.yml b/.travis.yml index a28da33..da7aeb5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,5 @@ before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" before_script: + - cp config/database.yml.travis config/database.yml - psql -c 'create database bike_bike_test;' -U postgres diff --git a/config/database.yml.travis b/config/database.yml.travis new file mode 100644 index 0000000..3e617ba --- /dev/null +++ b/config/database.yml.travis @@ -0,0 +1,5 @@ +test: + adapter: postgresql + encoding: unicode + database: travis_ci_test + username: postgres