forked from EMBL-EBI-TSI/aap-client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
27 lines (25 loc) · 752 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
[tox]
envlist =
py{27,34,35,36,37,py,py3}-unit,
py{27,34,35,36,37,py,py3}-lint,
docs
skip_missing_interpreters = True
[testenv]
passenv = CI TRAVIS TRAVIS_*
deps =
py{27,34,35,36,37,py,py3}-unit: codecov
extras =
py{27,34,35,36,37,py,py3}-unit: test
py{27,34,35,36,37,py,py3}-lint: lint
commands =
py{27,34,35,36,37,py,py3}-unit: python -m pytest --cov-report xml --cov aap_client {posargs}
py{27,34,35,36,37,py,py3}-unit: - codecov
py{27,34,35,36,37,py,py3}-lint: python -m pylint aap_client
ignore_outcome =
py{27,34,35,36,37,py,py3}-lint: True
docs: True
[testenv:docs]
description = Use sphinx to build the HTML docs
basepython = python3.6
extras = docs
commands = sphinx-build -M html docs docs/_build --color -W {posargs}