Fixed database setup for Travis.

Signed off by: Alessandro Palmeira <alessandro.palmeira@gmail.com>