0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -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 - export PATH=$PATH:`pwd`/bin
- cd - - cd -
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_travis'; fi - 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: before_script:
- phantomjs --version - phantomjs --version
- casperjs --version - casperjs --version

View file

@ -55,8 +55,7 @@
"when": "2.5.1" "when": "2.5.1"
}, },
"optionalDependencies": { "optionalDependencies": {
"mysql": "2.0.0-alpha9", "mysql": "2.0.0-alpha9"
"pg": "~2.6.2"
}, },
"devDependencies": { "devDependencies": {
"blanket": "~1.1.5", "blanket": "~1.1.5",