fail build only when in CI mode