Skip to content

Commit

Permalink
use add-apt-repository for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Oct 20, 2015
1 parent 430648b commit 560ec89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ notifications:
before_install:
# linux
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then echo "deb http://cran.rstudio.com/bin/linux/ubuntu precise/" | sudo tee -a /etc/apt/sources.list; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository --keyserve keyserver.ubuntu.com -y "deb http://cran.rstudio.com/bin/linux/ubuntu precise/"; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq -y; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install git r-base r-base-dev r-recommended -y; fi

Expand Down

0 comments on commit 560ec89

Please sign in to comment.