Update travis ci to work with postgres.