Get rid of py34-integration testenv.

Fixes #1000.
This commit is contained in:
Florian Bruhin 2015-10-05 19:06:00 +02:00
parent 228b4104b0
commit fda477397e
3 changed files with 8 additions and 19 deletions

View File

@ -12,6 +12,5 @@ install:
test_script: test_script:
- C:\Python34\Scripts\tox -e py34 - 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 unittests-frozen
- C:\Python34\Scripts\tox -e pylint - C:\Python34\Scripts\tox -e pylint

View File

@ -21,7 +21,7 @@ install:
- python scripts/dev/ci_install.py - python scripts/dev/ci_install.py
script: 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 unittests-nodisp || true'
- '[[ $TRAVIS_OS_NAME == linux ]] && tox -e misc || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e misc || true'
- '[[ $TRAVIS_OS_NAME == linux ]] && tox -e pep257 || true' - '[[ $TRAVIS_OS_NAME == linux ]] && tox -e pep257 || true'

24
tox.ini
View File

@ -4,7 +4,7 @@
# and then run "tox" from this directory. # and then run "tox" from this directory.
[tox] [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] [testenv]
# https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though # 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 passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI
deps = deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
wheel==0.26.0
py==1.4.30 py==1.4.30
pytest==2.7.3 # rq.filter: <2.8.0 pytest==2.7.3 # rq.filter: <2.8.0
pytest-capturelog==0.7 pytest-capturelog==0.7
@ -25,24 +26,13 @@ deps =
coverage==4.0.0 coverage==4.0.0
pytest-cov==2.2.0 pytest-cov==2.2.0
beautifulsoup4==4.4.1 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 httpbin==0.3.0
itsdangerous==0.24 itsdangerous==0.24
Werkzeug==0.10.4 Werkzeug==0.10.4
commands = commands =
{envpython} scripts/link_pyqt.py --tox {envdir} {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] [testenv:mkvenv]
basepython = python3 basepython = python3
@ -55,7 +45,7 @@ basepython = python3
passenv = {[testenv]passenv} passenv = {[testenv]passenv}
skip_install = true skip_install = true
deps = deps =
{[testenv:py34-integration]deps} {[testenv]deps}
cx_Freeze==4.3.4 cx_Freeze==4.3.4
commands = commands =
{envpython} scripts/link_pyqt.py --tox {envdir} {envpython} scripts/link_pyqt.py --tox {envdir}
@ -71,7 +61,7 @@ setenv =
QUTE_NO_DISPLAY_OK=1 QUTE_NO_DISPLAY_OK=1
commands = commands =
{envpython} scripts/link_pyqt.py --tox {envdir} {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] [testenv:misc]
basepython = python3 basepython = python3
@ -91,7 +81,7 @@ skip_install = true
setenv = PYTHONPATH={toxinidir}/scripts/dev setenv = PYTHONPATH={toxinidir}/scripts/dev
passenv = passenv =
deps = deps =
{[testenv:py34-integration]deps} {[testenv]deps}
{[testenv:misc]deps} {[testenv:misc]deps}
astroid==1.3.8 astroid==1.3.8
pylint==1.4.4 pylint==1.4.4