diff --git a/.travis.yml b/.travis.yml index 6df5f28..b30219c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: ruby bundler_args: --without development before_script: + - psql -c 'create database myapp_test;' -U postgres - "cp config/database.travis.yml config/database.yml" script: ./script/cibuild.sh rvm: diff --git a/config/database.travis.yml b/config/database.travis.yml index 3c56f14..374a3e3 100644 --- a/config/database.travis.yml +++ b/config/database.travis.yml @@ -1,5 +1,4 @@ test: - adapter: mysql2 + adapter: postgresql database: myapp_test - username: root - encoding: utf8 + username: postgres