Skip to content

Commit a639457

Browse files
renzonrenzon
authored andcommitted
Acresecentada cobertura de código
close #23
1 parent 4673d49 commit a639457

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ language: python
22
python:
33
- 3.6
44
install:
5-
- pip install -q -r requirements-dev.txt
5+
- pip install -q -r requirements-dev.txt codecov
66
script:
77
- flake8
8-
- pytest libpythonpro
8+
- pytest libpythonpro --cov=libpythonpro
9+
after_success:
10+
- codecov

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Link para o curso [Python Pro](https://www.python.pro.br/)
88
[![Build Status](https://travis-ci.org/pythonprobr/libpythonpro.svg?branch=master)](https://travis-ci.org/pythonprobr/libpythonpro)
99
[![Updates](https://pyup.io/repos/github/pythonprobr/libpythonpro/shield.svg)](https://pyup.io/repos/github/pythonprobr/libpythonpro/)
1010
[![Python 3](https://pyup.io/repos/github/pythonprobr/libpythonpro/python-3-shield.svg)](https://pyup.io/repos/github/pythonprobr/libpythonpro/)
11+
[![codecov](https://codecov.io/gh/pythonprobr/libpythonpro/branch/master/graph/badge.svg)](https://codecov.io/gh/pythonprobr/libpythonpro)
1112

1213
Suportada versão 3 de Python
1314

requirements-dev.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ six==1.11.0
1010
attrs==18.1.0
1111
pluggy==0.6.0
1212
pytest==3.5.1
13+
14+
15+
#Converage
16+
coverage==4.5.1
17+
pytest-cov==2.5.1
18+
1319
-r requirements.txt

0 commit comments

Comments
 (0)