forked from AllenInstitute/mouse_connectivity_models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (23 loc) · 722 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
[tox]
envlist = py27-test,py{35,36}-{test,doc}
[testenv:py27-test]
[testenv:py35-test]
[testenv:py35-doc]
[testenv:py36-test]
[testenv:py36-doc]
[testenv]
passenv=HOME
setenv =
PYTHONPATH = {toxinidir}
commands =
pip install -q -U pip
pipenv install --dev
py{27,35,36}-test: pip install --no-deps --force --upgrade .
py{27,35,36}-test: coverage run --source mcmodels -m pytest --basetemp={envtmpdir} {posargs}
py{27,35,36}-test: coverage report
py{35,36}-doc: pip install --upgrade --force git+https://github.com/sphinx-gallery/sphinx-gallery # temporary hack until sphinx-gallery 0.1.14
py{35,36}-doc: make -C docs clean html
deps =
pipenv
whitelist_externals =
make