diff --git a/.travis.yml b/.travis.yml index 881c82e1..1cedd435 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,14 +4,13 @@ os: language: python python: - - 2.6 - 2.7 - - pypy - - 3.3 - - 3.4 - 3.5 - 3.6 - - pypy-5.3.1 + - 3.7 + - 3.8 + - pypy + - pypy3.5 before_script: - pip install -r requirements-dev.txt diff --git a/setup.py b/setup.py index 7c3d1c1b..75d887f4 100644 --- a/setup.py +++ b/setup.py @@ -39,15 +39,12 @@ def read(*parts): "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.1", - "Programming Language :: Python :: 3.2", - "Programming Language :: Python :: 3.3", - "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Build Tools", diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..05f95706 --- /dev/null +++ b/tox.ini @@ -0,0 +1,12 @@ +[tox] +envlist = py{27,35,36,37,38},docs + +[testenv] +deps = -r requirements-dev.txt +commands = + python sh.py travis + +[testenv:docs] +basepython = python3 +commands = + python setup.py check --restructuredtext --metadata --strict