From de83ced69b9157bf287230068f8198972b13f9ac 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 Replaces #144 --- .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