Use more generic CI detection which is supported by Circle (internal builds) and Travis (public builds)