spec/unit/spec_helper.rb in pacto-0.2.1 vs spec/unit/spec_helper.rb in pacto-0.2.2
- old
+ new
@@ -1,2 +1,5 @@
-require 'coveralls'
-Coveralls.wear!
+# Enable Coveralls only on the CI environment
+if ENV['CI']
+ require 'coveralls'
+ Coveralls.wear!
+end