Skip to content

Commit

Permalink
starting Xvfb on Linux Azure
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 12, 2019
1 parent 1ba2105 commit 427ef11
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ steps:

- script: |
python setup.py -q install --user
ls -l /usr/share/miniconda/bin/python
which pytest
ls -l /usr/share/miniconda/bin/pytest
pwd
# NEED TO FIND OUT HOW TO SET DISPLAY SIZE
Xvfb :99 &
export DISPLAY=:99
sleep 3 # give xvfb some time to start
python -c "import PySide; print(PySide.__version__);"
pytest -v
displayName: "Installing code and running tests (Linux)"
condition: eq( variables['Agent.OS'], 'Linux')
Expand Down

0 comments on commit 427ef11

Please sign in to comment.