Redis starts but it gives connection refused error

Travis started to fail on my project since several days ago and out of nowhere because it can’t connect to redis even though it says redis is started up.
This is one example of a failure:
https://travis-ci.org/wikimedia/ores/builds/450967101?utm_source=github_status&utm_medium=notification

Please see Trusty environment: redis-server not starting with redis-tools installed

I saw it already. My project doesn’t have redis-tools installed.

You are updating redis-server. Please read my comment carefully.