Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed postgresql database setup for travis-ci

  • Loading branch information...
commit 8162d6498e50ab3a6948f8172da9109c271608f3 1 parent 3c9defc
@boosty boosty authored
Showing with 5 additions and 3 deletions.
  1. +1 −1  .travis.yml
  2. +2 −0  flag_shih_tzu.gemspec
  3. +2 −2 test/database.yml
View
2  .travis.yml
@@ -8,7 +8,7 @@ gemfile:
env:
- DB=sqlite
- DB=mysql
- - DB=postgres
+ - DB=postgresql
before_script:
- "mysql -e 'create database flag_shih_tzu_test;'"
- "psql -c 'create database flag_shih_tzu_test;' -U postgres"
View
2  flag_shih_tzu.gemspec
@@ -28,4 +28,6 @@ ActiveRecord object.
s.add_development_dependency "rake"
s.add_development_dependency "rcov"
s.add_development_dependency "sqlite3"
+ s.add_development_dependency "mysql2"
+ s.add_development_dependency "pg"
end
View
4 test/database.yml
@@ -7,7 +7,7 @@ mysql:
database: flag_shih_tzu_test
username:
encoding: utf8
-postgres:
+postgresql:
adapter: postgresql
- database: myapp_test
+ database: flag_shih_tzu_test
username: postgres
Please sign in to comment.
Something went wrong with that request. Please try again.