add wait_for_emulator for travis