8000 echo fest · robertodr/xtensor-python@1ffa032 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ffa032

Browse files
committed
echo fest
1 parent 0f4aedd commit 1ffa032

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

azure-pipelines.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,30 @@ jobs:
1818
choco --version
1919
displayName: "Install Chocolatey"
2020
21-
# Install Miniconda and remove Python 2.7 from path
21+
# Install Miniconda
2222
- script: |
23-
echo '%PATH%'
24-
echo '%PYTHONPATH%'
25-
set PATH=%PATH:C:\Python27;=%
26-
set PATH=%PATH:C:\Python27\Scripts;=%
27-
echo '%PATH%'
28-
echo '%PYTHONPATH%'
23+
echo 'PATH before %PATH%'
24+
echo 'PYTHONPATH before %PYTHONPATH%'
2925
choco install miniconda3 --yes
26+
echo 'PATH after %PATH%'
27+
echo 'PYTHONPATH after %PYTHONPATH%'
3028
set PATH=C:\tools\miniconda3\Scripts;C:\tools\miniconda3;C:\tools\miniconda3\Library\bin;%PATH%
3129
echo '##vso[task.setvariable variable=PATH]%PATH%'
30+
echo 'LIB before %LIB%'
3231
set LIB=C:\tools\miniconda3\Library\lib;%LIB%
32+
echo 'LIB after %LIB%'
3333
echo '##vso[task.setvariable variable=LIB]%LIB%'
3434
conda --version
3535
displayName: "Install Miniconda"
3636
3737
# Configure Miniconda
3838
- script: |
39-
echo '%PATH%'
40-
echo '%PYTHONPATH%'
4139
conda config --set always_yes yes
4240
conda config --append channels conda-forge
4341
conda info
42+
echo 'PATH again %PATH%'
43+
echo 'PYTHONPATH again %PYTHONPATH%'
44+
echo 'LIB again %LIB%'
4445
displayName: "Configure Miniconda"
4546
4647
# Create conda enviroment
@@ -103,14 +104,15 @@ jobs:
103104
104105
# Test (Google test)
105106
- script: |
106-
setlocal EnableDelayedExpansion
107+
echo 'PATH and again %PATH%'
108+
echo 'PYTHONPATH and again %PYTHONPATH%'
109+
echo 'LIB and again %LIB%'
107110
.\test_xtensor_python
108111
displayName: "Test xtensor-python (Google test)"
109112
workingDirectory: $(Build.BinariesDirectory)/build/test
110113
111114
# Test (pytest)
112115
- script: |
113-
setlocal EnableDelayedExpansion
114116
py.test -s
115117
displayName: "Test xtensor-python (pytest)"
116118
workingDirectory: $(Build.BinariesDirectory)

0 commit comments

Comments
 (0)
0