0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Remove direct pg dependency

refs #1333
- Adjust Travis build to install pg
- Remove pg from package.json
This commit is contained in:
Fabian Becker 2013-11-29 00:58:24 +00:00
parent e4a5356a69
commit a4434fd39a
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

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