Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci][docs] downdrage sphinx and fix LaTeX error in R-package tests #2977

Merged
merged 4 commits into from
Apr 7, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions .ci/test_r_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ if [[ $OS_NAME == "macos" ]]; then
brew install qpdf
brew cask install basictex
export PATH="/Library/TeX/texbin:$PATH"
sudo tlmgr update --self
sudo tlmgr install inconsolata helvetic

# Workaround for "/Library/TeX/texbin/tlmgr: unexpected return value from verify_checksum: -5"
# https://tug.org/pipermail/tex-live/2020-February/044772.html
curl -fsSL https://www.preining.info/rsa.asc | sudo tlmgr key add -

wget -q https://cran.r-project.org/bin/macosx/R-${R_MAC_VERSION}.pkg -O R.pkg
sudo installer \
Expand All @@ -57,6 +59,10 @@ if [[ $OS_NAME == "macos" ]]; then
fi
fi

# Fix "! LaTeX Error: File `inconsolata.sty' not found."
sudo tlmgr update --self
sudo tlmgr install inconsolata helvetic

conda install \
-y \
-q \
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements_base.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx
sphinx < 3.0
sphinx_rtd_theme >= 0.3
mock; python_version < '3'