`npm ERR! `spin` is not a valid npm option`

I’ve been having the same issue and couldn’t find a fix other than downgrading my npm version to 17.
I’d like to see the travis team input tho.