Skip to content

Commit

Permalink
[ci] fixed r-lintr version constraint (microsoft#2990)
Browse files Browse the repository at this point in the history
* Update test.sh

* update brew to pull new URL for basictex
  • Loading branch information
StrikerRUS authored Apr 13, 2020
1 parent 8c33535 commit be591c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if [[ $TRAVIS == "true" ]] && [[ $TASK == "lint" ]]; then
conda install -q -y -n $CONDA_ENV \
-c conda-forge \
libxml2 \
r-lintr>=2.0
"r-lintr>=2.0"
pip install --user cpplint
echo "Linting Python code"
pycodestyle --ignore=E501,W503 --exclude=./compute,./.nuget . || exit -1
Expand Down
4 changes: 4 additions & 0 deletions .ci/test_r_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ fi
# Installing R precompiled for Mac OS 10.11 or higher
if [[ $OS_NAME == "macos" ]]; then

# temp fix for basictex
if [[ $AZURE == "true" ]]; then
brew update
fi
brew install qpdf
brew cask install basictex
export PATH="/Library/TeX/texbin:$PATH"
Expand Down

0 comments on commit be591c8

Please sign in to comment.