Explorar el Código

Adjust coverage to only include oscar package

master
David Winterbottom hace 12 años
padre
commit
6178d211b2
Se han modificado 3 ficheros con 7 adiciones y 1 borrados
  1. 2
    0
      .coveragerc
  2. 1
    1
      Makefile
  3. 4
    0
      README.rst

+ 2
- 0
.coveragerc Ver fichero

1
+[run]
2
+source = oscar

+ 1
- 1
Makefile Ver fichero

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

+ 4
- 0
README.rst Ver fichero

36
 .. image:: https://secure.travis-ci.org/tangentlabs/django-oscar.png
36
 .. image:: https://secure.travis-ci.org/tangentlabs/django-oscar.png
37
     :target: http://travis-ci.org/#!/tangentlabs/django-oscar
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
 .. _`Official homepage`: http://oscarcommerce.com
43
 .. _`Official homepage`: http://oscarcommerce.com
40
 .. _`Sandbox site`: http://latest.oscarcommerce.com
44
 .. _`Sandbox site`: http://latest.oscarcommerce.com
41
 .. _`Documentation`: http://django-oscar.readthedocs.org/en/latest/
45
 .. _`Documentation`: http://django-oscar.readthedocs.org/en/latest/

Loading…
Cancelar
Guardar