forked from sunpy/sunpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
106 lines (101 loc) · 2.35 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[tox]
envlist = py{36,37,38}-{offline},online,build_docs,figure
isolated_build = True
[testenv]
whitelist_externals=
/bin/bash
/usr/bin/bash
changedir = tmp
setenv =
MPLBACKEND = agg
COLUMNS = 180
PYTEST_COMMAND = pytest -vvv --pyargs sunpy --cov=sunpy --cov-config={toxinidir}/setup.cfg -m "not figure" {toxinidir}/docs
astropydev: HOME = {envtmpdir}
extras = all,tests
deps =
pytest-cov
pytest-xdist
astropydev: cython
astropydev,figure_astropydev: git+https://github.com/astropy/astropy
astropy31: astropy<3.2
online: pytest-rerunfailures
online: pytest-timeout
online: astroquery
astropydev,build_docs: reproject
astropydev,build_docs: astroquery
astropydev,build_docs: jplephem
commands =
offline,astropydev,astropy31: {env:PYTEST_COMMAND} {posargs}
online: {env:PYTEST_COMMAND} --reruns 2 --timeout=180 --remote-data=any {posargs}
astropydev: bash -ec "for f in ../examples/*/*.py; do [[ $f == *skip* ]] && continue; python "$f"; done"
[testenv:build_docs]
changedir = {toxinidir}
extras = dev
setenv =
HOME = {envtmpdir}
commands = sphinx-build docs docs/_build/html -W -b html -d docs/_build/.doctrees {posargs}
# This env requires tox-conda.
[testenv:figure]
changedir = {toxinidir}
basepython = python3.6
extras = all,tests
deps =
{[testenv]deps}
astropy==3.1.2
numpy==1.16.2
scipy==1.2.1
pandas==0.24.2
conda_deps =
python=3.6.8
freetype=2.10
matplotlib=3.1.1
conda_channels = conda-forge
commands = {env:PYTEST_COMMAND} -m "figure" {posargs}
# This env requires tox-conda.
[testenv:figure_astropydev]
changedir = {toxinidir}
basepython = python3.7
extras = all,tests
deps =
{[testenv]deps}
numpy==1.16.2
scipy==1.2.1
pandas==0.24.2
conda_deps =
python=3.7.5
freetype=2.10
matplotlib=3.1.1
conda_channels = conda-forge
commands = {[testenv:figure]commands}
# This env requires tox-conda.
[testenv:py36-conda]
basepython = python3.6
extras =
deps =
conda_deps =
jsonschema=2.6
asdf
astropy<3.2
beautifulsoup4
dask
drms
glymur
hypothesis
jinja2
lxml
matplotlib
numpy
openjpeg
pandas
parfive
pytest
pytest-astropy
pytest-cov
pytest-mock
pytest-xdist
scikit-image
scipy
sqlalchemy
zeep
conda_channels = sunpy
commands = {env:PYTEST_COMMAND} {posargs}