Preventing conda from updating

This commit is contained in:
Ogi 2019-06-25 22:06:36 -07:00
parent cd2b16dbae
commit a04d31731d

View File

@ -88,14 +88,15 @@ jobs:
inputs: inputs:
environmentName: 'test-environment-$(python.version)' environmentName: 'test-environment-$(python.version)'
packageSpecs: 'python=$(python.version)' packageSpecs: 'python=$(python.version)'
updateConda: false
- bash: | - bash: |
if [ $(install.method) == "conda" ] if [ $(install.method) == "conda" ]
then then
source activate test-environment-$(python.version) source activate test-environment-$(python.version)
conda install -c conda-forge $(qt.bindings) numpy scipy pyopengl pytest flake8 six coverage --yes --quiet conda install -c conda-forge $(qt.bindings) numpy scipy pyopengl pytest six coverage --yes --quiet
else else
pip install $(qt.bindings) numpy scipy pyopengl pytest flake8 six coverage pip install $(qt.bindings) numpy scipy pyopengl pytest six coverage
fi fi
pip install pytest-xdist pytest-cov pytest-faulthandler pip install pytest-xdist pytest-cov pytest-faulthandler
displayName: "Install Dependencies" displayName: "Install Dependencies"