pre-commit/appveyor.yml
Anthony Sottile 736122594f Revert "Stop crlf messages in appveyor"
This reverts commit 37f49d8fd4.
2018-09-17 13:36:25 -07:00

28 lines
682 B
YAML

environment:
global:
COVERAGE_IGNORE_WINDOWS: '# pragma: windows no cover'
TOX_TESTENV_PASSENV: COVERAGE_IGNORE_WINDOWS
matrix:
- TOXENV: py27
- TOXENV: py37
install:
- "SET PATH=C:\\Python37;C:\\Python37\\Scripts;%PATH%"
- pip install tox virtualenv --upgrade
- "mkdir -p C:\\Temp"
- "SET TMPDIR=C:\\Temp"
- "curl -sSf https://sh.rustup.rs | bash -s -- -y"
- "SET PATH=%USERPROFILE%\\.cargo\\bin;%PATH%"
# 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%\.cache\pre-commit'