added environment check to only publish to coveralls when running on travis