From 4793be0aa7feb246e5c4f6764f87742fd160a122 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 10 Jan 2020 01:03:47 +0100 Subject: [PATCH] --cov-append for Travis only --- .travis.yml | 2 +- tox.ini | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b3f3d800..17d80685 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ dist: xenial language: python env: global: - - PYTEST_ADDOPTS=-vv + - PYTEST_ADDOPTS="-vv --cov-append" matrix: - CI_TARGET=tests matrix: diff --git a/tox.ini b/tox.ini index a03f2144..f0f087eb 100644 --- a/tox.ini +++ b/tox.ini @@ -11,10 +11,9 @@ deps = cov: pytest-cov pyuv: pyuv setenv = - cov: PYTEST_ADDOPTS=--cov=. --cov-append {env:PYTEST_ADDOPTS:} + cov: PYTEST_ADDOPTS=--cov=. {env:PYTEST_ADDOPTS:} passenv = PYTEST_ADDOPTS commands = - cov: coverage erase python -m pytest {posargs} [testenv:checkqa]