Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #51 from lemmatum/master
Browse files Browse the repository at this point in the history
Adding .circleci
  • Loading branch information
lemmatum committed May 1, 2018
2 parents b9d5f44 + bfaedaa commit fbc3095
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
deps-run: &deps-install
name: Install Python dependencies and SpectroscoPyx
command: |
pip install --user -r requirements/automated-documentation-tests.txt | cat
pip install --user . | cat
html-run: &doc-html
name: Build HTML documentation
command: python setup.py build_docs -w

latex-run: &doc-latex
name: Build LaTeX documentation
command: |
make latexpdf 2>/tmp/TexError 1>/dev/null -w
cat /tmp/TexError
working_directory: docs

version: 2
jobs:
test-html:
docker:
- image: SpectroscoPyx/documentation-builder:latest
steps:
- checkout
- run: *deps-install
- run: *doc-html
- store_artifacts:
path: docs/_build/html
- run: *doc-latex

workflows:
version: 2
test-documentation:
jobs:
- test-html

notify:
webhooks:
- url: https://giles.cadair.com/circleci

0 comments on commit fbc3095

Please sign in to comment.