Added emulator setup for travis.