Skip to content

Commit

Permalink
Stop using deprecated setup.py test functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jan 20, 2020
1 parent 439d002 commit cbc0c16
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ install:

script:
- python --version
- coverage run setup.py -q test
- coverage run -m unittest discover -s src
- python setup.py -q bdist_wheel

after_success:
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ build_script:
- python -W ignore setup.py -q bdist_wheel

test_script:
- python setup.py -q test
- python -m unittest discover -s src

artifacts:
- path: 'dist\*.whl'
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ envlist =

[testenv]
commands =
coverage run setup.py -q test -q {posargs}
deps =
.[test]
coverage
coverage run -m unittest discover -s src
extras = test
setenv =
COVERAGE_FILE=.coverage.{envname}

Expand Down

0 comments on commit cbc0c16

Please sign in to comment.