From 2c80f2fe2498d543f8e814a24c57caa23a1f77df Mon Sep 17 00:00:00 2001 From: Tom Gillespie Date: Fri, 8 Nov 2019 13:35:48 -0800 Subject: [PATCH] setup.cfg update pytest options and remove from travis --- .travis.yml | 2 +- setup.cfg | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b0eabba..15c85bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ install: - pipenv install --dev --system --skip-lock --deploy script: - - PYTHONWARNINGS=ignore pipenv run pytest --verbose --color=yes --cov=ontquery + - pipenv run pytest after_success: - if [[ $HAS_COVERALLS ]] ; then coveralls ; fi diff --git a/setup.cfg b/setup.cfg index 77be74c..a23c59f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,7 @@ test=pytest [nosetests] ignore-files=test_interlex_client.py [tool:pytest] -addopts=--verbose +testpaths=test +addopts=--verbose --color=yes -W ignore --cov=ontquery [bdist_wheel] universal=1