Added postgresql setup configuration for travis-ci.