update travis checks to build the database before running tests