mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
commit
ad8eb93af4
3 changed files with 14 additions and 15 deletions
23
.travis.yml
23
.travis.yml
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -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',
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue