forked from into-ai/deeplearning2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
43 lines (35 loc) · 739 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 = py36, py37, lint, format, typecheck
[travis]
python =
3.7: py37
3.6: py36
[testenv:lint]
basepython = python
commands = pipenv run invoke lint
[testenv:format]
basepython = python
commands = pipenv run invoke format --check
[testenv:typecheck]
basepython = python
commands = pipenv run invoke type-check
[testenv:codecov]
passenv = CI TRAVIS TRAVIS_* CODECOV_TOKEN
basepython = python
deps =
pip>=19.2
setuptools>=41.0.0
pipenv
codecov
commands_post = pipenv run codecov
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
setuptools>=41.0.0
pip>=19.2
pipenv
commands_pre =
pip install --quiet tensorflow
pipenv install --clear --dev
commands = pipenv run invoke test