docs.yml 517 Bytes
Newer Older
Gao, Xiang's avatar
Gao, Xiang committed
1
queue:
2
  name: Hosted Ubuntu 1604
3
  timeoutInMinutes: 300
Gao, Xiang's avatar
Gao, Xiang committed
4

5
6
7
8
9
10
trigger:
  batch: true
  branches:
    include:
    - master

Gao, Xiang's avatar
Gao, Xiang committed
11
12
13
14
15
16
17
18
19
20
variables:
  python.version: '3.7'

steps:

- task: UsePythonVersion@0
  displayName: 'Use Python $(python.version)'
  inputs:
    versionSpec: '$(python.version)'

Gao, Xiang's avatar
Gao, Xiang committed
21
- script: 'azure/install_dependencies.sh && pip install sphinx sphinx_rtd_theme matplotlib pillow sphinx-gallery && pip install .'
Gao, Xiang's avatar
Gao, Xiang committed
22
23
24
25
  displayName: 'Install dependencies'

- script: 'sphinx-build docs build'
  displayName: Documents