forked from sunpy/sunkit-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (44 loc) · 1.22 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
[tox]
envlist = py{36,37}-{offline,online,astropydev,numpydev,sunpydev},build_docs
isolated_build = False
[testenv]
setenv =
MPLBACKEND = agg
COLUMNS = 180
PYTEST_COMMAND = pytest --cov=sunkit_image --cov-config={toxinidir}/setup.cfg --verbose -m "not figure" --durations=25
extras = all,tests
deps =
sunpydev: git+https://github.com/sunpy/sunpy
astropydev,numpydev: cython
numpydev: git+https://github.com/numpy/numpy
astropydev: git+https://github.com/astropy/astropy
pytest-cov
commands =
offline,astropydev,numpydev,sunpydev: {env:PYTEST_COMMAND} {posargs}
online: {env:PYTEST_COMMAND} --remote-data=any {posargs} {toxinidir}/docs
[testenv:build_docs]
basepython = python3.7
extras = all,docs
deps =
astroscrappy
beautifulsoup4
drms
python-dateutil
zeep
tqdm
commands = sphinx-build docs docs/_build/html -W -b html
# This env requires tox-conda.
[testenv:figure]
basepython = python3.7
extras = all,tests
conda_deps =
python = 3.7.2
astropy = 3.1.2
numpy = 1.16.2
freetype = 2.10
matplotlib = 3.0.3
scipy = 1.2.1
pandas = 0.24.2
pytest-cov
conda_channels = conda-forge
commands = {env:PYTEST_COMMAND} -vvv -m "figure" --remote-data=any {posargs}