From dc73233a69f5b5d0fa702a1bed0d44fa13382533 Mon Sep 17 00:00:00 2001 From: Tim Morgan Date: Wed, 2 Sep 2015 20:06:01 -0500 Subject: [PATCH] Fix travis config for pg --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c7d5ad542..8c082c61d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,8 @@ before_install: utf8'' > config/database.yml.mysql' - 'echo -e ''test:\n adapter: postgresql\n database: onebody_test\n username: postgres\n encoding: unicode'' > config/database.yml.pg' -- cp config/database.yml.$DB config/database.yml +- 'sed -i "s/#gem ''pg''/gem ''pg''/" Gemfile' +- 'cp config/database.yml.$DB config/database.yml' bundler_args: "--without development production" cache: bundler sudo: false