Files
pre-commit/appveyor.yml
Anthony Sottile 7d4db5c523 Revert "Merge pull request #788 from pre-commit/cache_cargo_windows"
This reverts commit e731aa835c, reversing
changes made to a4b5a9f7fb.
2018-07-17 18:23:08 -07:00

30 lines
726 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.autocrlf false
- git config --global core.safecrlf false
test_script: tox
cache:
- '%LOCALAPPDATA%\pip\cache'
- '%USERPROFILE%\.cache\pre-commit'