requireApp after you swap the mozMobileConnection.
You access the real mozMobileConnection in your localhost(firefox22) but there's no mozMobileConnection in travis(Firefox18).