diff --git a/conda/meta.yaml b/conda/meta.yaml
index d29a426309fb17f845f41cf13039099525de4bbd..118616db08815012cba3460b2ea4abc68692c90e 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -47,7 +47,7 @@ test:
   imports:
     - {{ name }}
   commands:
-    - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
+    - nosetests --with-coverage --cover-package={{ name }} --cover-erase --cover-html --cover-html-dir={{ project_dir }}/sphinx/coverage -sv {{ name }}
     - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
     - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
     - conda inspect linkages -p $PREFIX {{ name }}  # [not win]