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",