From bc7ac817072318a5b15e575db15b379ffde81ea9 Mon Sep 17 00:00:00 2001 From: cclauss Date: Mon, 10 Dec 2018 17:06:14 +0100 Subject: [PATCH] Travis CI: Add Python 3.7 and 3.8a * Adds Python 3.7.1 and a current nightly build of Python 3.8 alpha. * Python 3.3 reached its end of life in 2017 https://devguide.python.org/#branchstatus --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8dc047d..58dd54a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,19 @@ --- +dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069) language: python python: - 2.7 - 3.4 - 3.5 - 3.6 + - 3.7 - nightly install: - pip install pyyaml coveralls flake8 flake8-import-order doc8 - if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then pip install sphinx; fi - pip install . script: - - flake8 . + - if [[ $TRAVIS_PYTHON_VERSION != nightly ]]; then flake8 .; fi - if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then doc8 $(git ls-files '*.rst'); fi - yamllint --strict $(git ls-files '*.yaml' '*.yml') - coverage run --source=yamllint setup.py test