Skip to content

Commit 137ca6a

Browse files
committed
adding circleci docs building
1 parent ad073f7 commit 137ca6a

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.circleci/config.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version: 2
2+
jobs:
3+
build_docs:
4+
docker:
5+
- image: circleci/python:3.6-stretch
6+
steps:
7+
# Get our data and merge with upstream
8+
- run: sudo apt-get update
9+
- checkout
10+
11+
# Install
12+
- run:
13+
name: Installation and docs build
14+
command: |
15+
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
16+
bash miniconda.sh -b -p $HOME/miniconda
17+
export PATH="$HOME/miniconda/bin:$PATH"
18+
source "$HOME"/miniconda/etc/profile.d/conda.sh
19+
conda config --set always_yes yes --set changeps1 no
20+
conda env create -f environment.yml
21+
conda activate jupyter-sphinx
22+
python -m ipykernel install --user --name python3 --display-name "Python3"
23+
pip install --user .
24+
25+
cd doc
26+
make html
27+
28+
29+
30+
31+
- store_artifacts:
32+
path: doc/build/html/
33+
destination: html
34+
35+
36+
workflows:
37+
version: 2
38+
default:
39+
jobs:
40+
- build_docs

0 commit comments

Comments
 (0)