Merge pull request #1241 from j9ac9k/update-xvfb-config-for-ci

Use older pytest-xvfb for py2 configs
This commit is contained in:
Ogi Moore 2020-06-09 20:49:27 -07:00 committed by GitHub
commit 4d01023e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,12 @@ jobs:
then
source activate test-environment-$(python.version)
fi
pip install PyVirtualDisplay==0.2.5 pytest-xvfb
if [ $(python.version) == "2.7" ]
then
pip install PyVirtualDisplay==0.2.5 pytest-xvfb==1.2.0
else
pip install pytest-xvfb
fi
displayName: "Virtual Display Setup"
condition: eq(variables['agent.os'], 'Linux' )