8000 Remove Python 2.7 from PATH · robertodr/xtensor-python@b2ae4ab · GitHub
[go: up one dir, main page]

Skip to content

Commit b2ae4ab

Browse files
committed
Remove Python 2.7 from PATH
1 parent ac654c3 commit b2ae4ab

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
2121
# Install Miniconda and remove Python 2.7 from path
2222
- script: |
23-
set PATH=%PATH:C:\Python27;=%
24-
set PATH=%PATH:C:\Python27\Scripts;=%
2523
choco install miniconda3 --yes
2624
set PATH=C:\tools\miniconda3\Scripts;C:\tools\miniconda3;C:\tools\miniconda3\Library\bin;%PATH%
2725
echo '##vso[task.setvariable variable=PATH]%PATH%'
@@ -98,13 +96,17 @@ jobs:
9896
# Test (Google test)
9997
- script: |
10098
setlocal EnableDelayedExpansion
99+
set PATH=%PATH:C:\Python27;=%
100+
set PATH=%PATH:C:\Python27\Scripts;=%
101101
.\test_xtensor_python
102102
displayName: "Test xtensor-python (Google test)"
103103
workingDirectory: $(Build.BinariesDirectory)/build/test
104104
105105
# Test (pytest)
106106
- script: |
107107
setlocal EnableDelayedExpansion
108+
set PATH=%PATH:C:\Python27;=%
109+
set PATH=%PATH:C:\Python27\Scripts;=%
108110
py.test -s
109111
displayName: "Test xtensor-python (pytest)"
110112
workingDirectory: $(Build.BinariesDirectory)

0 commit comments

Comments
 (0)
0