The command "npm install -g detox" failed and exited with 1 during

Error
I attempted to solve this issue:

By imitating the detox recommended travis setup here:

Then got this error:
The command "npm install -g detox" failed and exited with 1 during .

Goal
Get detox tests running with an expo app

Travis build
https://travis-ci.com/bryanboyko/ExpoDetoxTravis/builds/150758465

Github PR

Imprint