-
Notifications
You must be signed in to change notification settings - Fork 29
/
tox.ini
41 lines (37 loc) · 883 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[tox]
envlist =
python3.4.8,
python3.5.5,
python3.6.5,
flake8
[travis]
python =
3.6: py36
3.5: py35
3.4: py34
[testenv:flake8]
basepython = python
deps =
flake8
commands =
flake8 pipenv_pipes
[pytest]
addopts= -v
; addopts=--cov pipenv_pipes --cov-report=html
[testenv]
; addopts=--cov pipenv_pipes --cov-report=html
setenv =
PYTHONPATH = {toxinidir}
deps =
pipenv
# -r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
pipenv install --dev
; pipenv install -e .
; pipenv run pytest tests
pytest --basetemp={envtmpdir} --cov pipenv_pipes --cov-report=html
pip install codecov
codecov -t "4023a586-778a-45ab-965f-7312b98b109c"