Skip to content

Commit f5219e3

Browse files
renzonrenzon
renzon
authored andcommitted
Alterado gestor de dependências para pipenv
close #123
1 parent 76b213c commit f5219e3

File tree

7 files changed

+254
-30
lines changed

7 files changed

+254
-30
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: python
22
python:
3-
- 3.6
3+
- 3.7
44
install:
5-
- pip install -q -r requirements-dev.txt codecov
5+
- pip install -q pipenv codecov
6+
- pipenv sync --dev
67
script:
78
- flake8
89
- pytest libpythonpro --cov=libpythonpro

Pipfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
flake8 = "*"
8+
pytest = "*"
9+
coverage = "*"
10+
pytest-cov = "*"
11+
pytest-mock = "*"
12+
13+
[packages]
14+
requests = "*"
15+
16+
[requires]
17+
python_version = "3.7"

Pipfile.lock

+233
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libpythonpro/tests/test_spam/test_enviador_de_email.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22

3-
from libpythonpro.spam.enviador_de_email import Enviador, EmailInvalido
3+
from libpythonpro.spam.enviador_de_email import EmailInvalido, Enviador
44

55

66
def test_criar_enviador_de_email():

libpythonpro/tests/test_spam/test_envio_para_base_de_usuarios.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import pytest
44

5-
from libpythonpro.spam.enviador_de_email import Enviador
65
from libpythonpro.spam.main import EnviadorDeSpam
76
from libpythonpro.spam.modelos import Usuario
87

requirements-dev.txt

-21
This file was deleted.

requirements.txt

-5
This file was deleted.

0 commit comments

Comments
 (0)