Skip to content

Commit 1d4e60b

Browse files
committed
Ajustando testes no build para usar pytest
1 parent 9d0223e commit 1d4e60b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ virtual_env:
88
install:
99
- pip install --upgrade pip
1010
- pip install -r requirements.txt
11-
script: coverage run setup.py test
12-
after_success: coveralls
11+
script:
12+
pytest --cov=cnab240
13+
after_success:
14+
coveralls
1315
deploy:
1416
provider: pypi
1517
user: trustcode

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
coveralls
22
ordereddict
3+
pytest
4+
pytest-cov

0 commit comments

Comments
 (0)