revert usage of variable in condition
@@ -8,7 +8,7 @@ jobs:
testTitle: 'Linux'
mac:
imageName: 'macos-10.13'
- testTitle: 'Darwin'
+ testTitle: 'macOS'
windows:
imageName: 'vs2017-win2016'
testTitle: 'Windows'
@@ -27,11 +27,11 @@ jobs:
- bash: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew install findutils && ln -s /usr/local/opt/findutils/libexec/gnubin/xargs /Users/vsts/.conda/envs/pymedphys/bin/xargs
displayName: 'Install Homebrew and GNU xargs'
- condition: eq( $(testTitle), 'Darwin' )
+ condition: eq( variables['Agent.OS'], 'Darwin' )
- bash: /usr/bin/sudo ln -s /home/vsts/.conda/bin/activate /usr/bin/activate
displayName: 'Create activate symbolic link'
- condition: eq( $(testTitle), 'Linux' )
+ condition: eq( variables['Agent.OS'], 'Linux' )
- bash: echo $PATH && source activate pymedphys && pip install -e .
displayName: 'Install development version of PyMedPhys'
