forked from roocs/roocs-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (49 loc) · 1.11 KB
/
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
[tox]
envlist = py37, py38, black, py37-windows, py38-macOS
; docs
requires = pip >= 20.0
opts = -v
[travis]
python =
3.8: py38
3.7: py37
3.7: black
3.7: py37-windows
3.8: py38-macOS
; 3.6: docs
[testenv:black]
basepython = python
deps =
flake8
black
commands =
flake8 roocs_utils tests
black --check --target-version py37 roocs_utils tests --exclude tests/mini-esgf-data
;[testenv:docs]
;extras = docs
;deps =
;commands =
; make --directory=docs clean html
;whitelist_externals =
; make
[testenv]
setenv =
HOME = {envtmpdir}
PYTHONPATH = {toxinidir}
GDAL_VERSION = 3.0.0
COV_CORE_SOURCE=
passenv = CI TRAVIS TRAVIS_* PROJ_DIR LD_LIBRARY_PATH GDAL_VERSION GDAL_DATA PATH
extras = dev
install_command = python -m pip install --no-user {opts} {packages}
download = True
deps =
; 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:
xarray
coveralls
pytest-cov
mock
pip
commands =
py.test -m "not online" --cov roocs_utils --basetemp={envtmpdir}
- coveralls