-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
50 lines (40 loc) · 868 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
[tox]
envlist = py36, py37, py38, flake8, coverage
requires =
[travis]
python =
3.8: py38
3.7: py37
3.6: py36, flake8, coverage
[testenv:flake8]
basepython = python
deps =
-rrequirements.txt
flake8
commands = flake8 awsm
[testenv:coverage]
basepython = python
deps =
cython
coverage
coveralls
PyYAML
commands =
python3 -m pip install -r requirements.txt
python3 -m pip install git+https://github.com/USDA-ARS-NWRC/pysnobal@master#egg=pysnobal
make coveralls
whitelist_externals =
make
[testenv]
passenv = *
setenv =
PYTHONPATH = {toxinidir}
commands =
python3 -m pip install -r requirements.txt
python3 -m pip install git+https://github.com/USDA-ARS-NWRC/pysnobal@master#egg=pysnobal
make clean-build clean-pyc
python3 -m unittest -v
deps =
cython
whitelist_externals =
make