.simplecov in hoc-0.6 vs .simplecov in hoc-0.7
- old
+ new
@@ -21,14 +21,24 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
require 'coveralls'
-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+if Gem.win_platform? then
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter
+ ]
+ SimpleCov.start do
+ add_filter "/test/"
+ add_filter "/features/"
+ end
+else
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
-]
-SimpleCov.start do
- add_filter "/test/"
- add_filter "/features/"
- minimum_coverage 100
+ ]
+ SimpleCov.start do
+ add_filter "/test/"
+ add_filter "/features/"
+ minimum_coverage 100
+ end
end