forked from ericmjl/bayesian-stats-modelling-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmacos.yml
30 lines (24 loc) · 991 Bytes
/
macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
trigger:
- master
variables:
miniconda.url: https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
pool:
vmImage: macOS-10.14
steps:
# Add conda to PATH.
- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH
# - script: |
# # Install Python, py.test, and required packages.
# conda env create -f binder/environment.yml
# source activate bayesian-modelling-tutorial
# conda install -y python=$(python.version)
# python -m ipykernel install --user --name bayesian-modelling-tutorial
# displayName: 'Create environment, install correct Python, and activate kernel.'
# # Q: Does second script not recognize environment context from 1st script?
# - script: |
# source activate bayesian-modelling-tutorial
# mkdir -p docs/notebooks
# jupyter nbconvert --config nbconvert_config.py --execute --template full
# pandoc README.md -o docs/index.html -c static/pandoc.css -s
# displayName: 'Build docs pages'