From bae1fbc7056de3902eda367f1193227e0825f6fc Mon Sep 17 00:00:00 2001 From: Vincent Michel Date: Fri, 11 Jan 2019 18:28:01 +0100 Subject: [PATCH] Move pytest options to pytest inifile --- ci/travis.sh | 2 +- pytest.ini | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 pytest.ini diff --git a/ci/travis.sh b/ci/travis.sh index 22230d3..6cee6a7 100755 --- a/ci/travis.sh +++ b/ci/travis.sh @@ -92,7 +92,7 @@ else mkdir empty cd empty - coverage run --rcfile=../.coveragerc -m pytest -W error -ra -v --pyargs pytest_trio --verbose + pytest bash <(curl -s https://codecov.io/bash) fi diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..e7e9beb --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +addopts = -W error -ra -v --pyargs pytest_trio --verbose --cov