-
Notifications
You must be signed in to change notification settings - Fork 190
/
tox.ini
57 lines (43 loc) · 867 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[tox]
min_version = 4.0
# run this to setup all required interpreters:
# pyenv global 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 2.7
envlist = py27, py3{5,6,7,8,9,10,11,12}
skip_missing_interpreters = True
[testenv]
deps =
pytest
pytest-cov
numpy
commands=pytest tests {posargs}
[testenv:check]
skip_install = true
deps = flake8
commands = flake8
[testenv:codecov]
passenv = CI TRAVIS TRAVIS_*
deps =
codecov
pytest
pytest-cov
commands =
pytest tests --cov=./toml
codecov
[testenv:py27]
base_python = python2.7
[testenv:py35]
base_python = python3.5
[testenv:py36]
base_python = python3.6
[testenv:py37]
base_python = python3.7
[testenv:py38]
base_python = python3.8
[testenv:py39]
base_python = python3.9
[testenv:py310]
base_python = python3.10
[testenv:py311]
base_python = python3.11
[testenv:py312]
base_python = python3.12