From 50e1d89d5039b9751a3785577f8293437ebd3fe7 Mon Sep 17 00:00:00 2001 From: meherett Date: Mon, 23 Oct 2023 23:05:43 +0300 Subject: [PATCH] Drop: addopts removed from pytest.ini & update .travis.yml --- .travis.yml | 8 +++----- pytest.ini | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 35ab757..e6208d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,7 @@ dist: bionic before_install: - python -m pip install --upgrade pip install: - - pip install -e .[tests,docs] tox-travis - - curl -L https://coveralls.io/coveralls-linux.tar.gz | tar -xz -C . + - pip install -e .[tests,docs] tox-travis coveralls matrix: include: - name: "3.9" @@ -15,6 +14,5 @@ matrix: python: 3.11 script: tox after_success: - - if [ "${TRAVIS_PYTHON_VERSION}" == "3.11" ]; - then ./coveralls report --repo-token=E8y6cerK5DVDZocB7eHTdzBKjdwQDkJzw; - fi; + - if [ "${TRAVIS_PYTHON_VERSION}" == "3.11" ]; then coverage run --source=bip38 -m pytest; fi; + - if [ "${TRAVIS_PYTHON_VERSION}" == "3.11" ]; then coveralls; fi; diff --git a/pytest.ini b/pytest.ini index 18bfe00..4da4a04 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,4 +1,3 @@ [pytest] testpaths = tests/ python_files = test_*.py -addopts = -vv --cov=bip38/