Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: 2
jobs:
build_docs:
docker:
- image: circleci/python:3.7-stretch
steps:
- checkout
- run:
name: Set BASH_ENV
command: |
echo "set -e" >> $BASH_ENV;
echo "export PATH=~/.local/bin:$PATH" >> $BASH_ENV;
- restore_cache:
keys:
- pip-cache
- run:
name: Get dependencies and install
command: |
pip install --user -q --upgrade pip setuptools
pip install --user -q --upgrade numpy matplotlib sphinx
pip install --user -e .
git submodule init
git submodule update
- save_cache:
key: pip-cache
paths:
- ~/.cache/pip
- run:
name: make html
command: |
cd doc
make html
- store_artifacts:
path: doc/_build/html/
destination: html

workflows:
version: 2

default:
jobs:
- build_docs
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
*.egg-info
*.swp
*.swo
.pytest_cache
doc/_build
build
dist