Merge pull request #165 from pre-commit/py36

Test py36 instead of py34
This commit is contained in:
Anthony Sottile 2017-01-21 17:21:35 -08:00 committed by GitHub
commit 6f21fdf27f
4 changed files with 14 additions and 15 deletions

View file

@ -1,18 +1,19 @@
language: python language: python
sudo: false
matrix:
include: # These should match the tox env list
- env: TOXENV=py27
- env: TOXENV=py35
python: 3.5 python: 3.5
env: # These should match the tox env list - env: TOXENV=py36
- TOXENV=py27 python: 3.6
- TOXENV=py34 - env: TOXENV=pypy
- TOXENV=py35
- TOXENV=pypy
install: pip install coveralls tox install: pip install coveralls tox
script: tox script: tox
before_install: before_install:
# Install git-lfs for a test # Install git-lfs for a test
- './get-git-lfs.py && export PATH="/tmp/git-lfs:$PATH"' - './get-git-lfs.py && export PATH="/tmp/git-lfs:$PATH"'
after_success: after_success: coveralls
- coveralls
sudo: false
cache: cache:
directories: directories:
- $HOME/.cache/pip - $HOME/.cache/pip

View file

@ -1,10 +1,10 @@
environment: environment:
matrix: matrix:
- TOXENV: py27 - TOXENV: py27
- TOXENV: py35 - TOXENV: py36
install: install:
- "SET PATH=C:\\Python35;C:\\Python35\\Scripts;%PATH%" - "SET PATH=C:\\Python36;C:\\Python36\\Scripts;%PATH%"
- pip install tox - pip install tox
# Not a C# project # Not a C# project

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3.4 #!/usr/bin/env python3
"""This is a script to install git-lfs to a tempdir for use in tests""" """This is a script to install git-lfs to a tempdir for use in tests"""
import io import io
import os.path import os.path

View file

@ -14,11 +14,10 @@ setup(
classifiers=[ classifiers=[
'License :: OSI Approved :: MIT License', 'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python :: Implementation :: PyPy',
], ],
@ -27,7 +26,6 @@ setup(
install_requires=[ install_requires=[
# quickfix to prevent pep8 conflicts # quickfix to prevent pep8 conflicts
'flake8!=2.5.3', 'flake8!=2.5.3',
'argparse',
'autopep8>=1.1', 'autopep8>=1.1',
'pyyaml', 'pyyaml',
'simplejson', 'simplejson',