Bring dependency down to 4.0, and cache travis