Skip to content

Commit

Permalink
New script format worked to install
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 12, 2019
1 parent 2fe5834 commit 57ec250
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ steps:
inputs:
environmentName: 'test-env'
packageSpecs: 'python=3 numpy=1.15.* pyside pytest pip python-dateutil requests setuptools'
installOptions: '-c conda-forge'
installOptions: '-q -c conda-forge'

#- script: |
# which python
Expand All @@ -49,14 +49,16 @@ steps:
- script: which python & which pip & conda list
displayName: "Status"

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

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

- script: pytest -v
displayName: 'Running SHARPpy tests'

0 comments on commit 57ec250

Please sign in to comment.