Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request jupyter#119 from choldgraf/circleci
Browse files Browse the repository at this point in the history
adding circleci docs building
  • Loading branch information
akhmerov authored Apr 29, 2020
2 parents ad073f7 + 137ca6a commit 25bc9e1
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
version: 2
jobs:
build_docs:
docker:
- image: circleci/python:3.6-stretch
steps:
# Get our data and merge with upstream
- run: sudo apt-get update
- checkout

# Install
- run:
name: Installation and docs build
command: |
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
source "$HOME"/miniconda/etc/profile.d/conda.sh
conda config --set always_yes yes --set changeps1 no
conda env create -f environment.yml
conda activate jupyter-sphinx
python -m ipykernel install --user --name python3 --display-name "Python3"
pip install --user .
cd doc
make html
- store_artifacts:
path: doc/build/html/
destination: html


workflows:
version: 2
default:
jobs:
- build_docs

0 comments on commit 25bc9e1

Please sign in to comment.