Add a wait to wait moco start and shutdown
add travis config