File size: 587 Bytes
3e848bc
932a348
3e848bc
 
 
55b5f6a
3e848bc
 
 
88f1279
564d4a0
3e848bc
 
 
 
 
 
 
 
 
 
 
 
 
d1029b0
3e848bc
 
 
 
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
[tox]
envlist = py34, py35, py36, py37, py38, flake8

[travis]
python =
    3.8: py38
    3.7: py37
    3.6: py36
    3.5: py35
    3.4: py34


[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 deep_translator tests

[testenv]
setenv =
    PYTHONPATH = {toxinidir}
deps =
    -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 =
    pip install -U pip
    pytest --basetemp={envtmpdir}