language: python 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: # Standard release https://docs.travis-ci.com/user/languages # /python#choosing-python-versions-to-test-against - "2.7" - "3.4" - "3.5" - "3.6" # PyPy2.7: https://doc.pypy.org/en/latest # /index-of-release-notes.html#cpython-2-7-compatible-versions - pypy # PyPy3.5: https://doc.pypy.org/en/latest # /index-of-release-notes.html#cpython-3-3-compatible-versions - pypy3 matrix: include: - python: 2.6 dist: trusty - python: 3.7 dist: xenial # 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) allow_failures: - python: nightly install: "pip install -r requirements-test.txt" script: "py.test --doctest-modules boltons tests" branches: except: - function_builder