From be591c84f5ffd7f315bf2d6fc9fd26223cce5c02 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Tue, 14 Apr 2020 00:13:09 +0300 Subject: [PATCH] [ci] fixed r-lintr version constraint (#2990) * Update test.sh * update brew to pull new URL for basictex --- .ci/test.sh | 2 +- .ci/test_r_package.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/test.sh b/.ci/test.sh index eb360731b398..2b8b48daa6c0 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -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 diff --git a/.ci/test_r_package.sh b/.ci/test_r_package.sh index 31fae4ae06bd..4dddd36225f4 100755 --- a/.ci/test_r_package.sh +++ b/.ci/test_r_package.sh @@ -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"