travis: add a sleep before starting test to ensure database is ready; adjust ruby matris