diff options
-rw-r--r-- | tests/end2end/test_mkvenv.py | 7 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/end2end/test_mkvenv.py b/tests/end2end/test_mkvenv.py index 430be0279..728649474 100644 --- a/tests/end2end/test_mkvenv.py +++ b/tests/end2end/test_mkvenv.py @@ -19,10 +19,15 @@ # along with qutebrowser. If not, see <http://www.gnu.org/licenses/>. +import os from scripts import mkvenv def test_smoke(tmp_path): """Simple smoke test of mkvenv.py.""" - args = mkvenv.parse_args(['--venv-dir', str(tmp_path / 'venv'), '--skip-docs']) + argv = ['--venv-dir', str(tmp_path / 'venv'), '--skip-docs'] + if 'TRAVIS' in os.environ: # Travis doesn't have necessary libs installed + argv.append('--skip-smoke-test') + print(argv) + args = mkvenv.parse_args(argv) mkvenv.run(args) @@ -15,7 +15,7 @@ setenv = pyqt{,57,59,510,511,512,513,514,515,5150}: LINK_PYQT_SKIP=true pyqt{,57,59,510,511,512,513,514,515,5150}: QUTE_BDD_WEBENGINE=true cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report= -passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI XDG_* QUTE_* DOCKER QT_QUICK_BACKEND PY_COLORS +passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI TRAVIS XDG_* QUTE_* DOCKER QT_QUICK_BACKEND PY_COLORS basepython = py: {env:PYTHON:python3} py3: {env:PYTHON:python3} |