mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-07 12:26:52 +00:00
commit
6f21fdf27f
4 changed files with 14 additions and 15 deletions
19
.travis.yml
19
.travis.yml
|
|
@ -1,18 +1,19 @@
|
||||||
language: python
|
language: python
|
||||||
python: 3.5
|
sudo: false
|
||||||
env: # These should match the tox env list
|
matrix:
|
||||||
- TOXENV=py27
|
include: # These should match the tox env list
|
||||||
- TOXENV=py34
|
- env: TOXENV=py27
|
||||||
- TOXENV=py35
|
- env: TOXENV=py35
|
||||||
- TOXENV=pypy
|
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:
|
||||||
# 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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
4
setup.py
4
setup.py
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue