"vscode:/vscode.git/clone" did not exist on "3df9698bf31c7309e0b243105bd35c317c7a9198"
Unverified Commit f962744d authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] fix add-apt-repository warning (#3104)

parent 5539e5aa
......@@ -14,11 +14,11 @@ export PATH="$R_LIB_PATH/R/bin:$PATH"
# 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 [[ $TRAVIS == "true" ]] && [[ $OS_NAME == "linux" ]]; then
sudo add-apt-repository \
"deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/"
sudo apt-key adv \
--keyserver keyserver.ubuntu.com \
--recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository \
"deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/"
sudo apt-get update
sudo apt-get install \
--no-install-recommends \
......
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