parent
228b4104b0
commit
fda477397e
@ -12,6 +12,5 @@ install:
|
||||
|
||||
test_script:
|
||||
- C:\Python34\Scripts\tox -e py34
|
||||
- C:\Python34\Scripts\tox -e py34-integration
|
||||
- C:\Python34\Scripts\tox -e unittests-frozen
|
||||
- C:\Python34\Scripts\tox -e pylint
|
||||
|
@ -21,7 +21,7 @@ install:
|
||||
- python scripts/dev/ci_install.py
|
||||
|
||||
script:
|
||||
- xvfb-run -s "-screen 0 640x480x16" tox -e py34,py34-integration
|
||||
- xvfb-run -s "-screen 0 640x480x16" tox -e py34
|
||||
- '[[ $TRAVIS_OS_NAME == linux ]] && tox -e unittests-nodisp || true'
|
||||
- '[[ $TRAVIS_OS_NAME == linux ]] && tox -e misc || true'
|
||||
- '[[ $TRAVIS_OS_NAME == linux ]] && tox -e pep257 || true'
|
||||
|
24
tox.ini
24
tox.ini
@ -4,7 +4,7 @@
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = py34,py34-integration,misc,pep257,pyflakes,pep8,mccabe,pylint,pyroma,check-manifest
|
||||
envlist = py34,misc,pep257,pyflakes,pep8,mccabe,pylint,pyroma,check-manifest
|
||||
|
||||
[testenv]
|
||||
# https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though
|
||||
@ -15,6 +15,7 @@ setenv =
|
||||
passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
wheel==0.26.0
|
||||
py==1.4.30
|
||||
pytest==2.7.3 # rq.filter: <2.8.0
|
||||
pytest-capturelog==0.7
|
||||
@ -25,24 +26,13 @@ deps =
|
||||
coverage==4.0.0
|
||||
pytest-cov==2.2.0
|
||||
beautifulsoup4==4.4.1
|
||||
|
||||
commands =
|
||||
{envpython} scripts/link_pyqt.py --tox {envdir}
|
||||
{envpython} -m py.test --strict -rfEsw -m 'not integration' --cov qutebrowser --cov-report xml --cov-report=html --cov-report= {posargs:tests}
|
||||
{envpython} scripts/dev/check_coverage.py {posargs}
|
||||
|
||||
[testenv:py34-integration]
|
||||
basepython = python3
|
||||
setenv = {[testenv]setenv}
|
||||
passenv = {[testenv]passenv}
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
httpbin==0.3.0
|
||||
itsdangerous==0.24
|
||||
Werkzeug==0.10.4
|
||||
commands =
|
||||
{envpython} scripts/link_pyqt.py --tox {envdir}
|
||||
{envpython} -m py.test --strict -rfEsw -m 'integration' {posargs:tests}
|
||||
{envpython} -m py.test --strict -rfEsw --cov qutebrowser --cov-report xml --cov-report=html --cov-report= {posargs:tests}
|
||||
{envpython} scripts/dev/check_coverage.py {posargs}
|
||||
|
||||
[testenv:mkvenv]
|
||||
basepython = python3
|
||||
@ -55,7 +45,7 @@ basepython = python3
|
||||
passenv = {[testenv]passenv}
|
||||
skip_install = true
|
||||
deps =
|
||||
{[testenv:py34-integration]deps}
|
||||
{[testenv]deps}
|
||||
cx_Freeze==4.3.4
|
||||
commands =
|
||||
{envpython} scripts/link_pyqt.py --tox {envdir}
|
||||
@ -71,7 +61,7 @@ setenv =
|
||||
QUTE_NO_DISPLAY_OK=1
|
||||
commands =
|
||||
{envpython} scripts/link_pyqt.py --tox {envdir}
|
||||
{envpython} -m py.test --strict -rfEw -m 'not integration' {posargs:tests}
|
||||
{envpython} -m py.test --strict -rfEw {posargs:tests}
|
||||
|
||||
[testenv:misc]
|
||||
basepython = python3
|
||||
@ -91,7 +81,7 @@ skip_install = true
|
||||
setenv = PYTHONPATH={toxinidir}/scripts/dev
|
||||
passenv =
|
||||
deps =
|
||||
{[testenv:py34-integration]deps}
|
||||
{[testenv]deps}
|
||||
{[testenv:misc]deps}
|
||||
astroid==1.3.8
|
||||
pylint==1.4.4
|
||||
|
Loading…
Reference in New Issue
Block a user