Skip to content

Commit

Permalink
Fix travis documentation tests
Browse files Browse the repository at this point in the history
The documentation fails to build but the test passes. The scripting
is to blame, it does not bailout after the failing line.
  • Loading branch information
has2k1 committed May 22, 2017
1 parent c6731e1 commit 5165a8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sudo: false
sudo: required

language: python

Expand Down Expand Up @@ -40,6 +40,11 @@ before_install:
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
fi
- |
if [[ "$JOB" == "DOCS" ]]; then
sudo apt-get -qq update
sudo apt-get install -y pandoc
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
Expand Down Expand Up @@ -81,8 +86,7 @@ script:
make test
elif [[ "$JOB" == "DOCS" ]]; then
pushd doc
make html SPHINXOPTS=-W
popd;
make html SPHINXOPTS=-W && popd
elif [[ "$JOB" == "LINT" ]]; then
make lint
fi
Expand Down
1 change: 1 addition & 0 deletions requirements_doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ git+https://github.com/has2k1/plotnine-examples#egg=plotnine_examples
jupyter
sphinx>=1.6.1
nbsphinx
pillow

0 comments on commit 5165a8d

Please sign in to comment.