Skip to content

Commit

Permalink
Update R install in .travis.yml (#430)
Browse files Browse the repository at this point in the history
* Update R install in .travis.yml

See https://cran.r-project.org/bin/linux/ubuntu/README.html

* update .travis.yml
  • Loading branch information
agitter authored and fmichonneau committed Dec 16, 2019
1 parent e986d1a commit a0c0681
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/boilerplate/.travis.yml
@@ -1,3 +1,4 @@
# Travis CI is only used to check the lesson and is not involved in its deployment
dist: xenial # Ubuntu 16.04 (required for python 3.7)
language: python
python: 3.7
Expand All @@ -7,15 +8,15 @@ branches:
- /.*/
before_install:
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
- echo "deb https://cran.rstudio.com/bin/linux/ubuntu trusty/" | sudo tee -a /etc/apt/sources.list
- echo "deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -y
- sudo apt-get install -y r-base
- sudo Rscript -e "install.packages('knitr', repos = 'https://', dependencies = TRUE)"
- sudo Rscript -e "install.packages('stringr', repos = 'https://cran.rstudio.com', dependencies = TRUE)"
- sudo Rscript -e "install.packages('checkpoint', repos = 'https://cran.rstudio.com', dependencies = TRUE)"
- sudo Rscript -e "install.packages('ggplot2', repos = 'https://cran.rstudio.com', dependencies = TRUE)"
- rvm default
- gem install json kramdown jekyll
- gem install json kramdown jekyll bundler
install:
- pip install pyyaml
script:
Expand Down

0 comments on commit a0c0681

Please sign in to comment.