add coverage make target

This commit is contained in:
Pengfei Xue
2013-11-15 18:00:18 +08:00
parent 42bffb575d
commit afaed3343a
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -142,3 +142,4 @@ Patches and Suggestions
- Can Ibanoglu <can.ibanoglu@gmail.com> @canibanoglu
- Thomas Weißschuh <thomas@t-8ch.de> @t-8ch
- Jayson Vantuyl <jayson@aggressive.ly> @kagato
- Pengfei.X <pengphy@gmail.com>
+3
View File
@@ -4,6 +4,9 @@ init:
test:
py.test
coverage:
py.test --verbose --cov-report term --cov=requests test_requests.py
ci: init
py.test --junitxml=junit.xml
+1
View File
@@ -1,4 +1,5 @@
py==1.4.12
pytest==2.3.4
pytest-cov==1.6
invoke==0.2.0
wheel