diff options
Diffstat (limited to 'config/database.yml.travis')
| -rw-r--r-- | config/database.yml.travis | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/database.yml.travis b/config/database.yml.travis new file mode 100644 index 000000000..40a95e668 --- /dev/null +++ b/config/database.yml.travis @@ -0,0 +1,11 @@ +development: + adapter: <%= RUBY_PLATFORM == "java" ? "jdbcpostgresql" : "postgresql" %> + database: <%= (ENV["GIT_BRANCH"].nil? || ENV["GIT_BRANCH"] == "master") ? "chouette_d" : "chouette_" + ENV["GIT_BRANCH"] + "_d" %> + encoding: utf8 + username: postgres + +test: + adapter: <%= RUBY_PLATFORM == "java" ? "jdbcpostgresql" : "postgresql" %> + database: <%= (ENV["GIT_BRANCH"].nil? || ENV["GIT_BRANCH"] == "master") ? "chouette_test" : "chouette_" + ENV["GIT_BRANCH"] + "_test" %> + encoding: utf8 + username: postgres
\ No newline at end of file |
