configuring travis to use postgresql for tests