Build database for Travis