Parcourir la source

Adjust coverage to only include oscar package

master
David Winterbottom il y a 12 ans
Parent
révision
6178d211b2
3 fichiers modifiés avec 7 ajouts et 1 suppressions
  1. 2
    0
      .coveragerc
  2. 1
    1
      Makefile
  3. 4
    0
      README.rst

+ 2
- 0
.coveragerc Voir le fichier

@@ -0,0 +1,2 @@
1
+[run]
2
+source = oscar

+ 1
- 1
Makefile Voir le fichier

@@ -35,7 +35,7 @@ docs:
35 35
 	cd docs && make html
36 36
 
37 37
 coverage:
38
-	./runtests.py --with-coverage --cover-package=oscar --cover-html --cover-html-dir=htmlcov --with-xunit
38
+	coverage run ./runtests.py
39 39
 	coverage xml -i
40 40
 
41 41
 # We probably should use upgrade instead of install here but we have a conflict

+ 4
- 0
README.rst Voir le fichier

@@ -36,6 +36,10 @@ Continuous integration status:
36 36
 .. image:: https://secure.travis-ci.org/tangentlabs/django-oscar.png
37 37
     :target: http://travis-ci.org/#!/tangentlabs/django-oscar
38 38
 
39
+.. image:: https://coveralls.io/repos/tangentlabs/django-oscar/badge.png?branch=master
40
+    :alt: Coverage
41
+    :target: https://coveralls.io/r/tangentlabs/django-oscar
42
+
39 43
 .. _`Official homepage`: http://oscarcommerce.com
40 44
 .. _`Sandbox site`: http://latest.oscarcommerce.com
41 45
 .. _`Documentation`: http://django-oscar.readthedocs.org/en/latest/

Chargement…
Annuler
Enregistrer