From 7f8608cb4fc934147005247df44387232aab098c Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Mon, 16 Jan 2017 01:09:25 +0100 Subject: [PATCH] Test boltons against all Python-related Travis CI targets. --- .travis.yml | 22 ++++++++++++++++++++-- setup.py | 10 ++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d15f6a8..99bd7f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,30 @@ language: python sudo: false cache: pip + +# Python targets, as defined by https://github.com/travis-ci/travis-build/blob +# /master/spec/build/script/python_spec.rb and https://github.com/travis-ci +# /travis-build/blob/master/lib/travis/build/script/python.rb python: - - "2.6" + # Standard release https://docs.travis-ci.com/user/languages + # /python#choosing-python-versions-to-test-against - "2.7" + - "3.3" - "3.4" - "3.5" - - "pypy" + - "3.6" + - "3.7-dev" # a.k.a "nightly" + + # PyPy2.7: https://doc.pypy.org/en/latest + # /index-of-release-notes.html#cpython-2-7-compatible-versions + - pypy # PyPy2.7 2.5.0 + - pypy-5.1 + - pypy-5.3 + - pypy-5.4 + + # PyPy3.3: https://doc.pypy.org/en/latest + # /index-of-release-notes.html#cpython-3-3-compatible-versions + - pypy3.3-5.2-alpha1 install: "pip install -r requirements-test.txt" script: "py.test --doctest-modules boltons tests" diff --git a/setup.py b/setup.py index 802bcd1..c5d82e9 100644 --- a/setup.py +++ b/setup.py @@ -32,14 +32,24 @@ setup(name='boltons', license=__license__, platforms='any', classifiers=[ + # See: https://pypi.python.org/pypi?:action=list_classifiers 'Topic :: Utilities', 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', 'Topic :: Software Development :: Libraries', 'Development Status :: 5 - Production/Stable', + 'Operating System :: OS Independent', + # List of python versions and their support status: + # https://en.wikipedia.org/wiki/CPython#Version_history + 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] )