File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ install:
18
18
# install pypy using choco (redirect to a file and write to console in case
19
19
# choco install returns non-zero, because choco install python.pypy is too
20
20
# noisy)
21
- - choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1)
22
- - set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy
23
- - echo PyPy installed
24
- - pypy --version
21
+ - if not x%TOXENV:pypy=%==x%TOXENV% (
22
+ (choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1)) &&
23
+ set "PATH=C:\tools\pypy\pypy;%PATH%" &&
24
+ pypy --version
25
+ )
25
26
26
27
# Upgrade virtualenv for e.g. more-itertools to be handled properly.
27
28
# Pin it to work around https://github.com./tox-dev/tox/issues/1389.
You can’t perform that action at this time.
0 commit comments