mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 20:40:08 -06:00
27 lines
570 B
YAML
27 lines
570 B
YAML
environment:
|
|
global:
|
|
COVERAGE_IGNORE_WINDOWS: '# pragma: windows no cover'
|
|
TOX_TESTENV_PASSENV: COVERAGE_IGNORE_WINDOWS
|
|
matrix:
|
|
- TOXENV: py27
|
|
- TOXENV: py36
|
|
|
|
install:
|
|
- "SET PATH=C:\\Python36;C:\\Python36\\Scripts;%PATH%"
|
|
- pip install tox virtualenv --upgrade
|
|
- "mkdir -p C:\\Temp"
|
|
- "SET TMPDIR=C:\\Temp"
|
|
|
|
# Not a C# project
|
|
build: false
|
|
|
|
before_test:
|
|
# Shut up CRLF messages
|
|
- git config --global core.safecrlf false
|
|
|
|
test_script: tox
|
|
|
|
cache:
|
|
- '%LOCALAPPDATA%\pip\cache'
|
|
- '%USERPROFILE%\.pre-commit'
|