Merge pull request #1590 from halfdan/1333-pg-travis

Remove direct pg dependency
This commit is contained in:
Hannah Wolfe 2013-11-29 08:04:18 -08:00
commit 41c58cd5eb
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",