Skip to content

Commit 141c775

Browse files
jeroenyutannihilation
authored andcommitted
Cleanup Travis config (#3354)
1 parent d1ecd03 commit 141c775

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.travis.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
language: R
22
cache: packages
3-
sudo: true
4-
dist: trusty
53

64
# build matrix; turn on vdiffr only on r release
75
matrix:
@@ -35,8 +33,13 @@ env:
3533
after_success:
3634
- Rscript -e 'covr::codecov()'
3735

38-
before_install:
39-
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
40-
- sudo apt-get --yes --force-yes update -qq
41-
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev
42-
- Rscript -e 'update.packages(ask = FALSE)'
36+
addons:
37+
apt:
38+
sources:
39+
- sourceline: 'ppa:ubuntugis/ppa'
40+
packages:
41+
- libudunits2-dev
42+
- libproj-dev
43+
- libgeos-dev
44+
- libgdal-dev
45+

0 commit comments

Comments
 (0)