diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-02-10 14:33:48 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-02-10 14:33:48 -0500 |
commit | 016a84e3bc1ec56b6986b3f33144892ac618a5d5 (patch) | |
tree | 7ff2d8da69b945940e33603c5c985f67267ec462 | |
parent | fe39989ce5358c5e4311a61c359445668a17dd9b (diff) | |
parent | 3902aabd7f5c4cb0f4aba8d2785da98e87cb7d6a (diff) | |
download | pytest-runner-016a84e3bc1ec56b6986b3f33144892ac618a5d5.tar.gz |
Merge https://github.com/jaraco/skeleton
-rw-r--r-- | .travis.yml | 10 | ||||
-rw-r--r-- | README.rst | 5 | ||||
-rw-r--r-- | appveyor.yml | 2 | ||||
-rw-r--r-- | docs/conf.py | 6 | ||||
-rw-r--r-- | pytest.ini | 2 | ||||
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | tox.ini | 11 |
8 files changed, 30 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index 7ca9276..e570814 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,14 @@ dist: trusty sudo: false language: python +python: +- 2.7 +- &latest_py3 3.6 +- nightly + jobs: fast_finish: true include: - - python: 2.7 - - python: &latest_py3 3.6 - - python: nightly - stage: deploy if: tag IS present python: *latest_py3 @@ -28,6 +30,6 @@ jobs: cache: pip install: -- pip install tox +- pip install tox tox-venv script: tox @@ -4,7 +4,10 @@ .. image:: https://img.shields.io/pypi/pyversions/pytest-runner.svg .. image:: https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg - :target: http://travis-ci.org/pytest-dev/pytest-runner + :target: https://travis-ci.org/pytest-dev/pytest-runner + +.. 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 0a8ce5c..3d55a92 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,7 +15,7 @@ install: build: off test_script: - - "python -m pip install tox" + - "python -m pip install tox tox-venv" - "tox" version: '{build}' diff --git a/docs/conf.py b/docs/conf.py index 5d50361..c82b462 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,9 +2,9 @@ # -*- coding: utf-8 -*- extensions = [ - 'sphinx.ext.autodoc', - 'jaraco.packaging.sphinx', - 'rst.linker', + 'sphinx.ext.autodoc', + 'jaraco.packaging.sphinx', + 'rst.linker', ] master_doc = 'index' @@ -1,4 +1,4 @@ [pytest] -norecursedirs=dist build .tox +norecursedirs=dist build .tox .eggs addopts=--doctest-modules doctest_optionflags=ALLOW_UNICODE ELLIPSIS @@ -4,3 +4,6 @@ dists = clean --all sdist bdist_wheel [bdist_wheel] universal = 1 + +[metadata] +license_file = LICENSE @@ -36,7 +36,7 @@ params = dict( extras_require={ 'testing': [ 'pytest>=2.8', - 'pytest-sugar', + 'pytest-sugar>=0.9.1', 'collective.checkdocs', 'pytest-virtualenv', ], @@ -1,9 +1,20 @@ [tox] +envlist = python minversion = 2.4 [testenv] +deps = + setuptools>=31.0.1 commands = py.test {posargs} python setup.py checkdocs usedevelop = True extras = testing + +[testenv:build-docs] +extras = + docs + testing +changedir = docs +commands = + python -m sphinx . {toxinidir}/build/html |