File tree 2 files changed +15
-21
lines changed
2 files changed +15
-21
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,16 @@ init:
15
15
- ps : echo $env:TOXENV
16
16
- ps : ls C:\Python*
17
17
install :
18
- - ps : |
19
- if ($env: TOXENV -notmatch ' pypy') {
18
+ - |
19
+ IF "% TOXENV:~0,4%" == " pypy" (
20
20
choco install --no-progress python.pypy
21
- $env:PATH = "C:\tools\pypy\pypy;$env:PATH"
22
- pypy --version
23
- }
24
-
25
- # Upgrade virtualenv for e.g. more-itertools to be handled properly.
26
- # Pin it to work around https://github.com/tox-dev/tox/issues/1389.
27
- - C:\Python35\python -m pip install -U virtualenv==16.5.0
28
- - C:\Python35\python -m pip install tox
21
+ C:\tools\pypy\pypy --version
22
+ )
23
+ - C:\Python37\python -m pip install -U "virtualenv>=16.5.0"
24
+ - C:\Python37\python -m pip install tox
29
25
30
26
test_script :
31
- - C:\Python35 \python -m tox
27
+ - C:\Python37 \python -m tox
32
28
33
29
on_failure :
34
30
- ps : dir "env:"
Original file line number Diff line number Diff line change @@ -14,18 +14,16 @@ init:
14
14
- ps : echo $env:TOXENV
15
15
- ps : ls C:\Python*
16
16
install :
17
- # install pypy using choco (redirect to a file and write to console in case
18
- # choco install returns non-zero, because choco install python.pypy is too
19
- # noisy)
20
- - choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1)
21
- - set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy
22
- - echo PyPy installed
23
- - pypy --version
24
-
25
- - C:\Python35\python -m pip install tox
17
+ - |
18
+ IF "%TOXENV:~0,4%" == "pypy" (
19
+ choco install --no-progress python.pypy
20
+ C:\tools\pypy\pypy --version
21
+ )
22
+ - C:\Python37\python -m pip install -U "virtualenv>=16.5.0"
23
+ - C:\Python37\python -m pip install tox
26
24
27
25
test_script :
28
- - C:\Python35 \python -m tox
26
+ - C:\Python37 \python -m tox
29
27
30
28
on_failure :
31
29
- ps : dir "env:"
You can’t perform that action at this time.
0 commit comments