Merge pull request #1241 from j9ac9k/update-xvfb-config-for-ci
Use older pytest-xvfb for py2 configs
This commit is contained in:
commit
4d01023e77
@ -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' )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user