Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix R installation in CI (#11761)
Browse files Browse the repository at this point in the history
This patch fixes a regression in the R installation in CI.
  • Loading branch information
KellenSunderland authored and nswamy committed Jul 15, 2018
1 parent 444775b commit 01cba7b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ci/docker/install/ubuntu_r.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,11 @@ cd "$(dirname "$0")"
# install libraries for mxnet's r package on ubuntu
echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list

key=E084DAB9

gpg --keyserver keyserver.ubuntu.com --recv-key $key || \
gpg --keyserver keyserver.pgp.com --recv-keys $key || \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys $key ;
apt-key add r.gpg

# Installing the latest version (3.3+) that is compatible with MXNet
add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'

gpg -a --export $key | apt-key add -

apt-get update
apt-get install -y --allow-unauthenticated \
libcairo2-dev \
Expand Down

0 comments on commit 01cba7b

Please sign in to comment.