2015-04-10 04:37:13 +00:00
|
|
|
language: python
|
2016-02-29 11:09:15 +00:00
|
|
|
sudo: false
|
|
|
|
cache: pip
|
2017-01-16 00:09:25 +00:00
|
|
|
|
|
|
|
# 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
|
2015-04-10 04:37:13 +00:00
|
|
|
python:
|
2017-01-16 00:09:25 +00:00
|
|
|
# Standard release https://docs.travis-ci.com/user/languages
|
|
|
|
# /python#choosing-python-versions-to-test-against
|
2018-10-10 08:35:07 +00:00
|
|
|
# - "2.6" # EOL: https://devguide.python.org/#branchstatus
|
2015-04-10 04:37:13 +00:00
|
|
|
- "2.7"
|
2018-10-10 08:35:07 +00:00
|
|
|
# - "3.3" # EOL: https://devguide.python.org/#branchstatus
|
2015-04-10 12:55:53 +00:00
|
|
|
- "3.4"
|
2016-02-29 11:09:15 +00:00
|
|
|
- "3.5"
|
2017-01-16 00:09:25 +00:00
|
|
|
- "3.6"
|
2018-10-10 08:35:07 +00:00
|
|
|
|
2017-01-16 00:09:25 +00:00
|
|
|
# PyPy2.7: https://doc.pypy.org/en/latest
|
|
|
|
# /index-of-release-notes.html#cpython-2-7-compatible-versions
|
2018-10-10 08:46:49 +00:00
|
|
|
- pypy # Python 2.7.13 on PyPy 5.8.0
|
|
|
|
#- pypy-6.0.0 # Python 2.7.13 on PyPy 6.0.0 # Travis needs to upgrade!
|
2017-01-16 00:09:25 +00:00
|
|
|
|
|
|
|
# PyPy3.3: https://doc.pypy.org/en/latest
|
|
|
|
# /index-of-release-notes.html#cpython-3-3-compatible-versions
|
2018-10-10 08:46:49 +00:00
|
|
|
- pypy3 # Python 3.5.3 on PyPy PyPy 5.8.0-beta0
|
|
|
|
#- pypy3-6.0.0 # Python 3.5.3 on PyPy 6.0.0 # Travis needs to upgrade!
|
2018-10-10 08:35:07 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 3.7
|
2018-10-10 08:46:49 +00:00
|
|
|
dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
|
|
|
|
sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)
|
|
|
|
- python: nightly # Python 3.8.0a0
|
|
|
|
dist: xenial # required for Python 3.8-dev (travis-ci/travis-ci#9069)
|
|
|
|
sudo: required # required for Python 3.8-dev (travis-ci/travis-ci#9069)
|
|
|
|
allow_failures:
|
2018-10-10 08:35:07 +00:00
|
|
|
- python: nightly
|
2015-04-10 04:37:13 +00:00
|
|
|
|
|
|
|
install: "pip install -r requirements-test.txt"
|
2015-04-19 07:13:33 +00:00
|
|
|
script: "py.test --doctest-modules boltons tests"
|
2016-05-24 06:05:31 +00:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- function_builder
|