55
55
vmImage : ' macOS-latest'
56
56
strategy :
57
57
matrix :
58
- Python37-Mac :
59
- python.version : ' 3.7'
60
- maxParallel : 3
58
+ Python37 :
59
+ python.version : " 3.7"
61
60
62
61
steps :
63
62
- task : UsePythonVersion@0
66
65
architecture : ' x64'
67
66
- script : gcc --version
68
67
displayName : ' gcc version'
68
+
69
69
- script : |
70
70
brew update
71
71
displayName: 'brew update'
@@ -75,16 +75,30 @@ jobs:
75
75
displayName : ' gcc version'
76
76
- script : brew install llvm
77
77
displayName : ' install llvm'
78
+ - script : brew install libomp
79
+ displayName : ' Install omp'
78
80
- script : brew install p7zip
79
81
displayName : ' Install p7zip'
80
82
- script : brew install pandoc
81
83
displayName : ' Install Pandoc'
82
84
- script : brew install graphviz
83
85
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
+
88
102
- script : pip install -r requirements.txt
89
103
displayName : ' Install Requirements'
90
104
- script : |
0 commit comments