Skip to content

Commit

Permalink
Testing Azure Linux OS
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 12, 2019
1 parent 57ec250 commit e7fd6e8
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,19 @@ steps:
displayName: "Status"

- script: |
sudo python setup.py install
python setup.py -q install --user
pytest -v
displayName: "Installing code and running tests (Linux)"
condition: eq( variables['Agent.OS'], 'Linux')

- script: |
sudo python setup.py -q install
sudo pytest -v
displayName: "Installing code and running tests (*nix)"
condition: ne( variables['Agent.OS'], 'Windows_NT')
displayName: "Installing code and running tests (macOS)"
condition: eq( variables['Agent.OS'], 'Darwin')

- script: |
python setup.py install --user
python setup.py -q install --user
pytest -v
displayName: "Installing code and running tests (Windows)"
condition: eq( variables['Agent.OS'], 'Windows_NT')
Expand Down

0 comments on commit e7fd6e8

Please sign in to comment.