How to configure Travis to run test case in dockerized postgres

Hi ,

I am trying to configure travis ci to run test case using my dockerized postgres instance. On local ,unit test cases can find database and they run but on Travis CI I get error about unable to find the database user or database.

Please note, I am new to Travis CI, any direction or pointers will help to understand .

Regards