Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Dealing with the sphinx version issue here as it causes sphinx build …
Browse files Browse the repository at this point in the history
…failures on travis for any packages that uses astropy-helpers and the -w option
  • Loading branch information
bsipocz committed Apr 13, 2016
1 parent 1fcb7ba commit 7862e88
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions travis/setup_dependencies_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ if [[ $SETUP_CMD == build_sphinx* ]] || [[ $SETUP_CMD == build_docs* ]]; then
echo "matplotlib ${MATPLOTLIB_VERSION}*" >> $pin_file
fi
fi

# This is a temporary workaround of 2 warnings that appeared in the new
# 1.4 sphinx version, and that should be dealt with in
# astropy-helpers. This was we allow to override this version
# restriction by setting this variable in .travis.yml
if [[ -z $SPHINX_VERSION ]]; then
SPHINX_VERSION='<1.4'
fi

if [[ ! -z $SPHINX_VERSION ]]; then
if [[ -z $(grep sphinx $pin_file) ]]; then
echo "sphinx ${SPHINX_VERSION}*" >> $pin_file
Expand Down

0 comments on commit 7862e88

Please sign in to comment.