Merge pull request #468 from pre-commit/py36

Test py36 instead of py34
This commit is contained in:
Anthony Sottile 2017-01-21 17:20:40 -08:00 committed by GitHub
commit ad8eb93af4
3 changed files with 14 additions and 15 deletions

View file

@ -1,15 +1,17 @@
language: python language: python
python: 3.5
dist: trusty dist: trusty
sudo: required sudo: required
services: services:
- docker - docker
env: # These should match the tox env list matrix:
- TOXENV=py27 include:
- TOXENV=py34 - env: TOXENV=py27
- TOXENV=py35 - env: TOXENV=py27 LATEST_GIT=1
- TOXENV=pypy - env: TOXENV=py35
- TOXENV=py27 LATEST_GIT=1 python: 3.5
- env: TOXENV=py36
python: 3.6
- env: TOXENV=pypy
install: pip install coveralls tox install: pip install coveralls tox
script: tox script: tox
before_install: before_install:
@ -22,11 +24,8 @@ before_install:
export PATH="/tmp/git/bin:$PATH" export PATH="/tmp/git/bin:$PATH"
fi fi
- git --version - git --version
- | - './get-swift.sh && export PATH="/tmp/swift/usr/bin:$PATH"'
./get-swift.sh after_success: coveralls
export PATH="/tmp/swift/usr/bin:$PATH"
after_success:
- coveralls
cache: cache:
directories: directories:
- $HOME/.cache/pip - $HOME/.cache/pip

View file

@ -4,10 +4,10 @@ environment:
TOX_TESTENV_PASSENV: COVERAGE_IGNORE_WINDOWS TOX_TESTENV_PASSENV: COVERAGE_IGNORE_WINDOWS
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 virtualenv --upgrade - pip install tox virtualenv --upgrade
- "mkdir -p C:\\Temp" - "mkdir -p C:\\Temp"
- "SET TMPDIR=C:\\Temp" - "SET TMPDIR=C:\\Temp"

View file

@ -20,8 +20,8 @@ setup(
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
'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',
], ],