ci: PYTEST_ADDOPTS=-vv in general
This is useful when viewing logs, especially with hanging tests. Uses non-verbose mode with a single job for full coverage.
This commit is contained in:
parent
15d608867d
commit
ea7357bc58
13
.travis.yml
13
.travis.yml
|
@ -6,8 +6,13 @@ stages:
|
||||||
if: repo = pytest-dev/pytest AND tag IS NOT present
|
if: repo = pytest-dev/pytest AND tag IS NOT present
|
||||||
- name: deploy
|
- name: deploy
|
||||||
if: repo = pytest-dev/pytest AND tag IS present
|
if: repo = pytest-dev/pytest AND tag IS present
|
||||||
python:
|
python: '3.7'
|
||||||
- '3.7'
|
cache: false
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- PYTEST_ADDOPTS=-vv
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- python -m pip install --upgrade --pre tox
|
- python -m pip install --upgrade --pre tox
|
||||||
|
|
||||||
|
@ -57,7 +62,8 @@ jobs:
|
||||||
# - pytester's LsofFdLeakChecker
|
# - pytester's LsofFdLeakChecker
|
||||||
# - TestArgComplete (linux only)
|
# - TestArgComplete (linux only)
|
||||||
# - numpy
|
# - numpy
|
||||||
- env: TOXENV=py37-lsof-numpy-xdist PYTEST_COVERAGE=1
|
# Empty PYTEST_ADDOPTS to run this non-verbose.
|
||||||
|
- env: TOXENV=py37-lsof-numpy-xdist PYTEST_COVERAGE=1 PYTEST_ADDOPTS=
|
||||||
|
|
||||||
# Specialized factors for py27.
|
# Specialized factors for py27.
|
||||||
- env: TOXENV=py27-nobyte-numpy-xdist
|
- env: TOXENV=py27-nobyte-numpy-xdist
|
||||||
|
@ -147,4 +153,3 @@ notifications:
|
||||||
skip_join: true
|
skip_join: true
|
||||||
email:
|
email:
|
||||||
- pytest-commit@python.org
|
- pytest-commit@python.org
|
||||||
cache: false
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ trigger:
|
||||||
- features
|
- features
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
PYTEST_ADDOPTS: "--junitxml=build/test-results/$(tox.env).xml"
|
PYTEST_ADDOPTS: "--junitxml=build/test-results/$(tox.env).xml -vv"
|
||||||
python.needs_vc: False
|
python.needs_vc: False
|
||||||
python.exe: "python"
|
python.exe: "python"
|
||||||
COVERAGE_FILE: "$(Build.Repository.LocalPath)/.coverage"
|
COVERAGE_FILE: "$(Build.Repository.LocalPath)/.coverage"
|
||||||
|
|
Loading…
Reference in New Issue