Skip to content

Commit

Permalink
fix #1143
Browse files Browse the repository at this point in the history
* disable matplotlib requirement for rtd (was not needed)
* make sure that travis installs the same python packages as
  rtd for building the docs
  • Loading branch information
ltalirz committed Feb 19, 2018
1 parent c6ac68e commit 9cf0d6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ install:
# Upgrade pip setuptools and wheel to be able to run the next command
- pip install -U pip wheel setuptools
# Install AiiDA with some optional dependencies
- pip install .[REST,docs,atomic_tools,testing,dev_precommit]

- if [ "$TEST_TYPE" == "docs" ]; then pip install . && pip install -r docs/requirements_for_rtd.txt; else pip install .[rest,docs,atomic_tools,testing,dev_precommit]; fi

env:
## Build matrix to test both backends, and the docs
Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.imgmath', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', 'IPython.sphinxext.ipython_console_highlighting', 'IPython.sphinxext.ipython_directive']
ipython_mplbackend = ""

todo_include_todos = True

Expand Down

0 comments on commit 9cf0d6e

Please sign in to comment.