forked from spacetelescope/cubeviz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
88 lines (81 loc) · 1.66 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
[tox]
envlist=
{py36,py37}-test
{py36,py37}-{astrodev,numpydev,gluedev}-test
py36-legacy-test
[testenv]
deps=
pytest
pytest-qt
pytest-sugar
pytest-astropy
pytest-faulthandler
legacy: numpy==1.13
legacy: astropy==3.1
legacy: specviz==0.7.0
astrodev: git+git://github.com/astropy/astropy
numpydev: git+git://github.com/numpy/numpy
# These are the minimum dependencies required in order to set up our conda
# environment to enable the PyQt GUI
conda_deps=
legacy: glueviz=0.14
gluedev: glue-core
astrodev,numpydev: cython
conda_channels=
legacy: glueviz
gluedev: glueviz/label/dev
passenv= DISPLAY WINDIR JWST_DATA_TEST
commands=
pytest {posargs}
[testenv:egg_info]
deps=
conda_deps=
commands=
python setup.py egg_info
[testenv:twine]
basepython= python3.7
deps=
twine
conda_deps=
commands=
twine check {distdir}/*
[testenv:docbuild]
basepython= python3.7
deps=
sphinx-astropy
sphinx_rtd_theme
conda_deps=
sphinx
graphviz
matplotlib
commands=
sphinx-build -W docs build/docs
[testenv:checkdocs]
basepython= python3.7
deps=
collective.checkdocs
pygments
commands=
python setup.py checkdocs
[testenv:style]
basepython= python3.7
conda_deps=
flake8
commands=
flake8 cubeviz --count
[testenv:coverage]
basepython= python3.7
deps=
pytest
pytest-qt
pytest-sugar
pytest-astropy
pytest-faulthandler
codecov
coverage
commands=
coverage run --source=cubeviz --rcfile={toxinidir}/cubeviz/tests/coveragerc \
-m pytest --remote-data
coverage report -m
codecov -e TOXENV
passenv= TOXENV CI TRAVIS TRAVIS_* CODECOV_* DISPLAY