Skip to content

Commit

Permalink
trying artifact deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 12, 2019
1 parent 7c096f8 commit d650f58
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,30 @@ steps:
export DISPLAY=:99
sleep 3 # give xvfb some time to start
pytest -v
mv examples/data/14061619.png examples/data/14061619_linux.png
displayName: "Installing code and running tests (Linux)"
condition: eq( variables['Agent.OS'], 'Linux')

- script: |
sudo python setup.py -q install
sudo pytest -v
sudo mv examples/data/14061619.png examples/data/14061619_mac.png
displayName: "Installing code and running tests (macOS)"
condition: eq( variables['Agent.OS'], 'Darwin')

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

- task: CopyFiles@2
inputs:
contents: examples/data/14*.png
targetFolder: $(Build.ArtifactStagingDirectory)

- task: PublishBuildArtifacts@1
inputs:
artifactName: 'testgui'
targetPath: 'examples/data/14061619.png'
targetPath: $(Build.ArtifactStagingDirectory)

0 comments on commit d650f58

Please sign in to comment.