-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (36 loc) · 972 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 =
py{36,37,38}-dns{master,2_0,1_16,1_15}
py{27,34,35}-dns{1_16,1_15}
skip_missing_interpreters = true
[testenv]
setenv =
# dnspython 1 does not hit the .resolve method
COV_FAIL_UNDER=90
passenv =
NAMESERVER
deps =
dnsmaster: git+https://github.com/rthalley/dnspython
dns2_0: dnspython==2.0.0
dns1_16: dnspython==1.16
dns1_15: dnspython==1.15
py27: disk_dict
py27: pickle4
py27: diskcache<5
!py27: diskcache
py34: colorama<0.4.2
stash.py
!noapsw: apsw # optional dep of stash
# pyllist # indirect dep of stash lru, avoided
jsonpickle # optional dep of stash and usable with disk_dict
sqlitedict
pytest
pytest-cov
pytest-instafail
freezegun
unittest-expander
pyhostman
https://github.com/mehrdadrad/pubdns/archive/master.zip
commands =
- hostman add 127.0.0.1 localhost
pytest -vv -rs --instafail --cov=dns_cache --cov-report=term-missing:skip-covered --cov-fail-under={env:COV_FAIL_UNDER} {posargs}