Added postgresql support for travis ci so that the tests can run on the ci