Fix Travis CI integration of database