Update azure-pipelines.yml for Azure Pipelines [skip ci]

This commit is contained in:
Richin Jain 2019-04-05 18:17:30 -04:00
Родитель 41c801b81b
Коммит 8a7642a6bc
1 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -15,22 +15,20 @@ pool:
steps:
- bash: |
echo "##vso[task.prependpath]/data/anaconda/bin"
echo "##vso[task.prependpath]/usr/share/miniconda/bin"
displayName: Add Conda to PATH
- bash: |
. /data/anaconda/etc/profile.d/conda.sh
conda remove -q -n nlp --all -y
conda env create -f environment.yml
conda env list
conda activate nlp
source activate nlp
displayName: 'Build Configuration'
- bash: |
conda activate nlp
source activate nlp
python -m ipykernel install --user --name nlp --display-name "nlp"
pytest --junitxml=junit/test-unitttest.xml #not running any tests for now
conda deactivate
displayName: 'Run Unit tests'
- task: PublishTestResults@2