From 59c08295490d8c62ab6ad6237301752f05aed175 Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 15 Nov 2018 09:40:31 +0100 Subject: [PATCH] Travis CI: Add Python 3.7, 3.8a, Drop Python 3.3 * 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 c8980bb..660f6e4 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 - if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then pip install sphinx; fi - pip install . script: - - flake8 . + - if [[ $TRAVIS_PYTHON_VERSION != nightly ]]; then flake8 .; fi - yamllint --strict $(git ls-files '*.yaml' '*.yml') - coverage run --source=yamllint setup.py test - if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then