"include/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "e95d5ab849f046b8fdf755441e5767094aeb8de2"
Unverified Commit be591c84 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] fixed r-lintr version constraint (#2990)

* Update test.sh

* update brew to pull new URL for basictex
parent 8c335352
...@@ -48,7 +48,7 @@ if [[ $TRAVIS == "true" ]] && [[ $TASK == "lint" ]]; then ...@@ -48,7 +48,7 @@ if [[ $TRAVIS == "true" ]] && [[ $TASK == "lint" ]]; then
conda install -q -y -n $CONDA_ENV \ conda install -q -y -n $CONDA_ENV \
-c conda-forge \ -c conda-forge \
libxml2 \ libxml2 \
r-lintr>=2.0 "r-lintr>=2.0"
pip install --user cpplint pip install --user cpplint
echo "Linting Python code" echo "Linting Python code"
pycodestyle --ignore=E501,W503 --exclude=./compute,./.nuget . || exit -1 pycodestyle --ignore=E501,W503 --exclude=./compute,./.nuget . || exit -1
......
...@@ -35,6 +35,10 @@ fi ...@@ -35,6 +35,10 @@ fi
# Installing R precompiled for Mac OS 10.11 or higher # Installing R precompiled for Mac OS 10.11 or higher
if [[ $OS_NAME == "macos" ]]; then if [[ $OS_NAME == "macos" ]]; then
# temp fix for basictex
if [[ $AZURE == "true" ]]; then
brew update
fi
brew install qpdf brew install qpdf
brew cask install basictex brew cask install basictex
export PATH="/Library/TeX/texbin:$PATH" export PATH="/Library/TeX/texbin:$PATH"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment