Skip to content

Commit 552d53b

Browse files
committed
Update azure-pipelines.yml
1 parent 4666c71 commit 552d53b

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

azure-pipelines.yml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ jobs:
5555
vmImage: 'macOS-latest'
5656
strategy:
5757
matrix:
58-
Python37-Mac:
59-
python.version: '3.7'
60-
maxParallel: 3
58+
Python37:
59+
python.version: "3.7"
6160

6261
steps:
6362
- task: UsePythonVersion@0
@@ -66,6 +65,7 @@ jobs:
6665
architecture: 'x64'
6766
- script: gcc --version
6867
displayName: 'gcc version'
68+
6969
- script: |
7070
brew update
7171
displayName: 'brew update'
@@ -75,16 +75,30 @@ jobs:
7575
displayName: 'gcc version'
7676
- script: brew install llvm
7777
displayName: 'install llvm'
78+
- script: brew install libomp
79+
displayName: 'Install omp'
7880
- script: brew install p7zip
7981
displayName: 'Install p7zip'
8082
- script: brew install pandoc
8183
displayName: 'Install Pandoc'
8284
- script: brew install graphviz
8385
displayName: 'Install Graphviz'
84-
- script: python -m pip install --upgrade pip setuptools wheel
85-
displayName: 'Install tools'
86-
- script: pip install numpy scipy cython
87-
displayName: 'Install numpy scipy cython'
86+
- script: brew install pybind11
87+
displayName: 'Install pybind11'
88+
89+
- bash: echo "##vso[task.prependpath]$CONDA/bin"
90+
displayName: Add conda to PATH.
91+
- bash: sudo chown -R $USER $CONDA
92+
displayName: Take ownership of conda installation
93+
- bash: conda update conda --yes --quiet
94+
displayName: Update conda.
95+
- bash: conda info -a
96+
- bash: conda create --yes --quiet --name pyenv -c defaults -c conda-forge python=$PYTHON_VERSION tox sphinx jupyter Cython numpy mkl scipy scikit-learn pandas coverage pylint
97+
displayName: Create Anaconda environment.
98+
- bash: conda list
99+
- bash: |
100+
source activate pyenv
101+
88102
- script: pip install -r requirements.txt
89103
displayName: 'Install Requirements'
90104
- script: |

0 commit comments

Comments
 (0)