forked from python-rapidjson/python-rapidjson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
27 lines (23 loc) · 768 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
# -*- coding: utf-8 -*-
# :Project: python-rapidjson -- Tox configuration
# :Author: Lele Gaifax <[email protected]>
# :License: MIT License
# :Copyright: © 2015, 2016, 2017, 2018, 2021 Lele Gaifax
#
[tox]
envlist = py39, py39-debug, py310, docs
[testenv]
deps = -rrequirements-test.txt
changedir = tests
commands = py.test {posargs}
# The following uses a debug-enabled compilation of the Python interpreter: on
# Debian it's packaged as python3.9-dbg; the test_refs_count module depends on
# functionality available only in that variant
[testenv:py39-debug]
basepython = python3.9-dbg
[testenv:docs]
basepython = python3
changedir = docs
deps = sphinx
usedevelop = True
commands = sphinx-build -b doctest -d {envtmpdir}/doctrees . {envtmpdir}/doctest