trigger:
  batch: False
  branches:
    include:
      - '*'
pr:
  branches:
    include:
      - '*'

jobs:
- job:
  displayName: Windows
  pool:
    vmImage: 'vs2017-win2016'
  strategy:
    matrix:
      Python27:
        python.version: '2.7'
      Python36:
        python.version: '3.6'
      Python38:
        python.version: '3.8'

  steps:
  - script: |
      call "%CONDA%\Scripts\activate" base
      echo "##vso[task.setvariable variable=PATH]%CONDA%\Scripts;%PATH%"
    displayName: Add conda to PATH and activate conda base
  - script: conda install -n base python=%PYTHON_VERSION% numpy six
    displayName: Setup conda environment
  - bash: |
      python --version
      python setup.py install
    displayName: Install tdtpy
  - bash: |
      python -c "import tdtpy; print(tdtpy)"
    displayName: import tdtpy

Set up CI with Azure Pipelines
Set up CI with Azure Pipelines

[skip ci]