From a663a3a5f0244a15f65a066e2c4f2428a0dcc3bd Mon Sep 17 00:00:00 2001 From: "Matthias C. M. Troffaes" Date: Thu, 29 Nov 2018 12:21:41 +0000 Subject: [PATCH] Also test Python 3.7 --- .travis.yml | 7 ++++--- appveyor.yml | 2 ++ setup.py | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc58a35..1089899 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: python sudo: false python: + - "3.7" - "3.6" - "3.5" - "3.4" @@ -26,11 +27,11 @@ install: - "pip install pytest-cov" - "pip install -r requirements.txt" - "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi" - - "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pip install check-manifest flake8; fi" + - "if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then pip install check-manifest flake8; fi" - "pip install ." script: - - "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then check-manifest; fi" - - "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then flake8; fi" + - "if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then check-manifest; fi" + - "if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then flake8; fi" - cd tests - "pytest . --cov=pathlib2" after_success: diff --git a/appveyor.yml b/appveyor.yml index c5af7a4..8a0cdd4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,6 +9,8 @@ environment: - PYTHON: "C:\\Python36" + - PYTHON: "C:\\Python37" + init: - "%PYTHON%/python --version" diff --git a/setup.py b/setup.py index e589b51..ec7367c 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ def readfile(filename): 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Topic :: Software Development :: Libraries', 'Topic :: System :: Filesystems', ],