mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-23 01:10:27 +00:00
Supports Python 3 Only
Needs miniboa >= 1.0.8 for telnet test on Python 3.7. Test with older Beautiful Soup without line number support on Python 3.5. Resolve tox deprecation warning: Matching undeclared envs is deprecated. Be sure all the envs that Tox should run are declared in the tox config.
This commit is contained in:
parent
4f8c2954cf
commit
e46fb7fe9c
2 changed files with 23 additions and 16 deletions
|
|
@ -1,6 +1,5 @@
|
|||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
|
|
@ -26,11 +25,6 @@ notifications:
|
|||
email: false
|
||||
after_script:
|
||||
- coveralls
|
||||
matrix:
|
||||
allow_failures:
|
||||
- python: "3.5"
|
||||
- python: "3.6"
|
||||
- python: "3.7"
|
||||
cache:
|
||||
pip: true
|
||||
directories:
|
||||
|
|
|
|||
33
tox.ini
33
tox.ini
|
|
@ -1,20 +1,33 @@
|
|||
[tox]
|
||||
envlist = py27
|
||||
envlist = py{35,36,37,35-oldbs4}
|
||||
|
||||
[base]
|
||||
deps =
|
||||
pyftpdlib
|
||||
parameterized
|
||||
pdfminer
|
||||
pyopenssl
|
||||
pytest-xdist
|
||||
pytest-cov
|
||||
miniboa >= 1.0.8
|
||||
biplist
|
||||
|
||||
[testenv]
|
||||
usedevelop = true
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
pyftpdlib
|
||||
parameterized
|
||||
py27: pdfminer < 20191010
|
||||
!py27: pdfminer
|
||||
pyopenssl
|
||||
pytest-xdist
|
||||
pytest-cov
|
||||
miniboa
|
||||
biplist
|
||||
{[base]deps}
|
||||
commands =
|
||||
pytest {posargs:--cov=linkcheck}
|
||||
setenv =
|
||||
LC_ALL=en_US.utf-8
|
||||
|
||||
[testenv:py35-oldbs4]
|
||||
# test bs4 without line number support
|
||||
deps =
|
||||
beautifulsoup4 < 4.8.1
|
||||
requests >= 2.4
|
||||
pyxdg
|
||||
dnspython
|
||||
future
|
||||
{[base]deps}
|
||||
|
|
|
|||
Loading…
Reference in a new issue