Adding PostgresSQL to SpringBootApp

Hi guys. I’m using Travis for the first time and I just added postgress to my spring boot app. On local environment app is building correctly, but travis is failing it.
I tried to search how to add it, but it did’nt go very well. Here is the build before modification: (4012 line)

Here is the build after modification:

What am I making wrong?