"python-package/vscode:/vscode.git/clone" did not exist on "0f3d90e7b0afd39733a5c8aefe772425aad764cc"
Unverified Commit 0faf8741 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] remove Azure checks from R CI (#3355)

* [ci] remove texlive-fonts-extra and Azure checks R from CI

* put texlive-fonts-extra back
parent d4325c5a
...@@ -12,32 +12,24 @@ export PATH="$R_LIB_PATH/R/bin:$PATH" ...@@ -12,32 +12,24 @@ export PATH="$R_LIB_PATH/R/bin:$PATH"
export _R_CHECK_SYSTEM_CLOCK_=0 export _R_CHECK_SYSTEM_CLOCK_=0
# Get details needed for installing R components # Get details needed for installing R components
# R_MAJOR_VERSION=( ${R_VERSION//./ } )
# NOTES: if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
# * Linux builds on Azure use a container and don't need these details export R_MAC_VERSION=3.6.3
if ! { [[ $AZURE == "true" ]] && [[ $OS_NAME == "linux" ]]; }; then export R_LINUX_VERSION="3.6.3-1bionic"
R_MAJOR_VERSION=( ${R_VERSION//./ } ) export R_APT_REPO="bionic-cran35/"
if [[ "${R_MAJOR_VERSION}" == "3" ]]; then elif [[ "${R_MAJOR_VERSION}" == "4" ]]; then
export R_MAC_VERSION=3.6.3 export R_MAC_VERSION=4.0.2
export R_LINUX_VERSION="3.6.3-1bionic" export R_LINUX_VERSION="4.0.2-1.1804.0"
export R_APT_REPO="bionic-cran35/" export R_APT_REPO="bionic-cran40/"
elif [[ "${R_MAJOR_VERSION}" == "4" ]]; then else
export R_MAC_VERSION=4.0.2 echo "Unrecognized R version: ${R_VERSION}"
export R_LINUX_VERSION="4.0.2-1.1804.0" exit -1
export R_APT_REPO="bionic-cran40/"
else
echo "Unrecognized R version: ${R_VERSION}"
exit -1
fi
fi fi
# installing precompiled R for Ubuntu # installing precompiled R for Ubuntu
# https://cran.r-project.org/bin/linux/ubuntu/#installation # https://cran.r-project.org/bin/linux/ubuntu/#installation
# adding steps from https://stackoverflow.com/a/56378217/3986677 to get latest version # adding steps from https://stackoverflow.com/a/56378217/3986677 to get latest version
# if [[ $OS_NAME == "linux" ]]; then
# This only needs to get run on Travis because R environment for Linux
# used by Azure pipelines is set up in https://github.com/guolinke/lightgbm-ci-docker
if [[ $AZURE != "true" ]] && [[ $OS_NAME == "linux" ]]; then
sudo apt-key adv \ sudo apt-key adv \
--keyserver keyserver.ubuntu.com \ --keyserver keyserver.ubuntu.com \
--recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
......
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