Skip to content

Commit

Permalink
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 authored and sphuber committed Feb 27, 2018
1 parent 5ce96d5 commit a2444ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ before_install:
install:
# Upgrade pip setuptools and wheel to be able to run the next command
- pip install -U pip wheel setuptools
- pip install -r requirements.txt
# Install AiiDA with some optional dependencies
- pip install .[REST,docs,atomic_tools,testing,dev_precommit,dev_sphinxext]

- 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 a2444ef

Please sign in to comment.