Merge pull request #965 from j9ac9k/fix-964

Preventing conda from updating in CI builds
This commit is contained in:
Ogi Moore 2019-06-25 22:45:45 -07:00 committed by GitHub
commit 650b551b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"