diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-17 15:02:02 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-17 15:02:02 -0400 |
commit | e553c1576b7db2f2cd867461856eda71177cd731 (patch) | |
tree | 1f1b53684133e5445364e6d650855de7ed1e55f8 | |
parent | 139db200fdaba09dfacd0c59ba6e1bff664c4ebf (diff) | |
parent | cd31f81d564c1cd93c7cbf0b1b19c034e310ad52 (diff) | |
download | pytest-runner-e553c1576b7db2f2cd867461856eda71177cd731.tar.gz |
Merge https://github.com/jaraco/skeleton
-rw-r--r-- | .flake8 | 2 | ||||
-rw-r--r-- | README.rst | 6 | ||||
-rw-r--r-- | appveyor.yml | 3 | ||||
-rw-r--r-- | pytest.ini | 2 | ||||
-rw-r--r-- | setup.py | 7 | ||||
-rw-r--r-- | tox.ini | 2 |
6 files changed, 21 insertions, 1 deletions
@@ -0,0 +1,2 @@ +[flake8] +ignore = W191,W503 @@ -6,6 +6,12 @@ .. image:: https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg :target: https://travis-ci.org/pytest-dev/pytest-runner +.. .. image:: https://img.shields.io/appveyor/ci/pytest-dev/pytest-runner/master.svg +.. :target: https://ci.appveyor.com/project/pytest-dev/pytest-runner/branch/master + +.. .. image:: https://readthedocs.org/projects/pytest-runner/badge/?version=latest +.. :target: https://pytest-runner.readthedocs.io/en/latest/?badge=latest + Setup scripts can use pytest-runner to add setup.py test support for pytest runner. diff --git a/appveyor.yml b/appveyor.yml index 3d55a92..2b7808f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,6 +14,9 @@ install: build: off +cache: + - '%LOCALAPPDATA%\pip\Cache' + test_script: - "python -m pip install tox tox-venv" - "tox" @@ -1,4 +1,4 @@ [pytest] norecursedirs=dist build .tox .eggs -addopts=--doctest-modules +addopts=--doctest-modules --flake8 doctest_optionflags=ALLOW_UNICODE ELLIPSIS @@ -35,15 +35,22 @@ params = dict( ], extras_require={ 'testing': [ + # upstream 'pytest>=2.8', 'pytest-sugar>=0.9.1', 'collective.checkdocs', + 'pytest-flake8', + + # local 'pytest-virtualenv', ], 'docs': [ + # upstream 'sphinx', 'jaraco.packaging>=3.2', 'rst.linker>=1.9', + + # local ], }, setup_requires=[ @@ -5,6 +5,8 @@ minversion = 2.4 [testenv] deps = setuptools>=31.0.1 + # workaround for yaml/pyyaml#126 + # git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7" commands = py.test {posargs} python setup.py checkdocs |