Because this took me so long to figure out, I’m posting it. On some capybara feature tests, my react components would not render (on Travis).
Eventually I figured out that this was because I was missing qt5 on Travis (Ubuntu 12.04)
Anyhow, after about 3 HOURS of tinkering, this is what works. The main thing to remember is you have to put dist: trusty in your config.