25 строки
498 B
YAML
25 строки
498 B
YAML
|
|
trigger:
|
|
- staging
|
|
|
|
pool:
|
|
name: cvbpbuildagents
|
|
vmImage: 'linuxagent-gpu'
|
|
|
|
steps:
|
|
|
|
- bash: |
|
|
echo "##vso[task.prependpath]/data/anaconda/bin"
|
|
displayName: Add Conda to PATH
|
|
|
|
- bash: |
|
|
conda create -q -n cvbp python=3.5 -y
|
|
conda env update -q -n cvbp -f image_classification/environment.yml
|
|
displayName: 'Conda install dependencies'
|
|
|
|
- bash: |
|
|
source activate cvbp
|
|
cd image_classification
|
|
pytest tests/unit --junitxml=junit/test-unitttest.xml
|
|
displayName: 'tests'
|