Skip to content

Commit

Permalink
Also test Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Nov 29, 2018
1 parent e9a354c commit a663a3a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
@@ -1,6 +1,7 @@
language: python
sudo: false
python:
- "3.7"
- "3.6"
- "3.5"
- "3.4"
Expand All @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Expand Up @@ -9,6 +9,8 @@ environment:

- PYTHON: "C:\\Python36"

- PYTHON: "C:\\Python37"

init:
- "%PYTHON%/python --version"

Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -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',
],
Expand Down

0 comments on commit a663a3a

Please sign in to comment.