Split up travis requirements

We don't need to install database backends in all cases.

Signed-off-by: Michal Čihař <michal@cihar.com>