mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2025-08-26 10:02:22 +08:00
Add testing for pypy3
This commit is contained in:
@ -5,6 +5,7 @@ env: # These should match the tox env list
|
|||||||
- TOXENV=py33
|
- TOXENV=py33
|
||||||
- TOXENV=py34
|
- TOXENV=py34
|
||||||
- TOXENV=pypy
|
- TOXENV=pypy
|
||||||
|
- TOXENV=pypy3
|
||||||
install: pip install coveralls tox --use-mirrors
|
install: pip install coveralls tox --use-mirrors
|
||||||
script: tox
|
script: tox
|
||||||
after_success:
|
after_success:
|
||||||
|
3
setup.py
3
setup.py
@ -14,10 +14,13 @@ setup(
|
|||||||
platforms='linux',
|
platforms='linux',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'License :: OSI Approved :: MIT License',
|
'License :: OSI Approved :: MIT License',
|
||||||
|
'Programming Language :: Python :: 2',
|
||||||
'Programming Language :: Python :: 2.6',
|
'Programming Language :: Python :: 2.6',
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.3',
|
'Programming Language :: Python :: 3.3',
|
||||||
'Programming Language :: Python :: 3.4',
|
'Programming Language :: Python :: 3.4',
|
||||||
|
'Programming Language :: Python :: Implementation :: CPython',
|
||||||
'Programming Language :: Python :: Implementation :: PyPy',
|
'Programming Language :: Python :: Implementation :: PyPy',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
2
tox.ini
2
tox.ini
@ -1,7 +1,7 @@
|
|||||||
[tox]
|
[tox]
|
||||||
project = pre_commit_hooks
|
project = pre_commit_hooks
|
||||||
# These should match the travis env list
|
# These should match the travis env list
|
||||||
envlist = py26,py27,py33,py34,pypy
|
envlist = py26,py27,py33,py34,pypy,pypy3
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
install_command = pip install --use-wheel {opts} {packages}
|
install_command = pip install --use-wheel {opts} {packages}
|
||||||
|
Reference in New Issue
Block a user