From a4434fd39ad3f495f3d25a12d43ffc3a174819d5 Mon Sep 17 00:00:00 2001 From: Fabian Becker Date: Fri, 29 Nov 2013 00:58:24 +0000 Subject: [PATCH] Remove direct pg dependency refs #1333 - Adjust Travis build to install pg - Remove pg from package.json --- .travis.yml | 2 +- package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8d697e5342..8c8733ee90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ before_install: - export PATH=$PATH:`pwd`/bin - cd - - if [ $DB == "mysql" ]; then mysql -e 'create database ghost_travis'; fi - - if [ $DB == "pg" ]; then psql -c 'create database ghost_travis;' -U postgres; fi + - if [ $DB == "pg" ]; then npm install pg; psql -c 'create database ghost_travis;' -U postgres; fi before_script: - phantomjs --version - casperjs --version diff --git a/package.json b/package.json index 6d16c4af9b..65d56f495b 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,7 @@ "when": "2.5.1" }, "optionalDependencies": { - "mysql": "2.0.0-alpha9", - "pg": "~2.6.2" + "mysql": "2.0.0-alpha9" }, "devDependencies": { "blanket": "~1.1.5",