Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 5 additions & 15 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# NOTE: this file is auto-generated via ci/bootstrap.py (ci/templates/appveyor.yml).
version: '{branch}-{build}'
build: off
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
matrix:
- TOXENV: check
Expand All @@ -15,21 +13,13 @@ init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
install:
# install pypy using choco (redirect to a file and write to console in case
# choco install returns non-zero, because choco install python.pypy is too
# noisy)
- choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1)
- set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy
- echo PyPy installed
- pypy --version

# Upgrade virtualenv for e.g. more-itertools to be handled properly.
# Pin it to work around https://github.com/tox-dev/tox/issues/1389.
- C:\Python35\python -m pip install -U virtualenv==16.5.0
- C:\Python35\python -m pip install tox
- IF "%TOXENV:~0,4%" == "pypy" choco install --no-progress python.pypy
- SET PATH=C:\tools\pypy\pypy;%PATH%
- C:\Python37\python -m pip install -U "virtualenv>=16.5.0"
- C:\Python37\python -m pip install tox

test_script:
- C:\Python35\python -m tox
- C:\Python37\python -m tox

on_failure:
- ps: dir "env:"
Expand Down
20 changes: 5 additions & 15 deletions ci/templates/appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
version: '{branch}-{build}'
build: off
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
matrix:
- TOXENV: check
Expand All @@ -14,21 +12,13 @@ init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
install:
# install pypy using choco (redirect to a file and write to console in case
# choco install returns non-zero, because choco install python.pypy is too
# noisy)
- choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1)
- set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy
- echo PyPy installed
- pypy --version

# Upgrade virtualenv for e.g. more-itertools to be handled properly.
# Pin it to work around https://github.com/tox-dev/tox/issues/1389.
- C:\Python35\python -m pip install -U virtualenv==16.5.0
- C:\Python35\python -m pip install tox
- IF "%TOXENV:~0,4%" == "pypy" choco install --no-progress python.pypy
- SET PATH=C:\tools\pypy\pypy;%PATH%
- C:\Python37\python -m pip install -U "virtualenv>=16.5.0"
- C:\Python37\python -m pip install tox

test_script:
- C:\Python35\python -m tox
- C:\Python37\python -m tox

on_failure:
- ps: dir "env:"
Expand Down