Updated Code Climate to run only if environment variable is present. [ci skip]