2019-12-30 21:32:07 +00:00
|
|
|
trigger:
|
|
|
|
- develop
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: setup_env
|
|
|
|
displayName: 'Setup Environment'
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
Ubuntu18:
|
|
|
|
AGENT_NAME: 'rmm-ubuntu18'
|
|
|
|
|
|
|
|
pool:
|
|
|
|
name: linux-vms
|
|
|
|
demands:
|
|
|
|
- agent.name -equals $(AGENT_NAME)
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- script: |
|
2019-12-30 21:42:29 +00:00
|
|
|
cd /home/steam/myagent/_work/1/s/api
|
|
|
|
python3.7 -m venv env
|
|
|
|
source env/bin/activate
|
|
|
|
python --version
|
|
|
|
deactivate
|
|
|
|
python --version
|
2019-12-30 21:32:07 +00:00
|
|
|
displayName: 'Run Tests'
|