Adds emulator support for testing on travis.