forked from Ouranosinc/xclim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (42 loc) · 866 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
[tox]
envlist = py35, py36, py37, py38-dev, black, docs
[travis]
python =
3.8-dev: py38-dev
3.7: py37
3.6: py36
3.5: py35
3.6: black
3.6: docs
[testenv:black]
basepython = python
deps = black
commands =
black --check xclim tests
[testenv:docs]
deps =
Sphinx
guzzle-sphinx-theme
nbsphinx
pandoc
IPython
commands =
make --directory=docs clean html
whitelist_externals =
make
[testenv]
setenv =
HOME = {envtmpdir}
PYTHONPATH = {toxinidir}
COV_CORE_SOURCE=
passenv = CI TRAVIS TRAVIS_*
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:
-r{toxinidir}/requirements_dev.txt
coveralls
pytest-cov
commands =
pip install -U pip
py.test --cov xclim --basetemp={envtmpdir}
- coveralls