Skip to content

Commit 5ce9520

Browse files
committed
Cleanup Travis config
1 parent 9b5c4f6 commit 5ce9520

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.travis.yml

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
language: R
22
cache: packages
3-
sudo: true
4-
dist: trusty
53
warnings_are_errors: false
4+
65
r:
76
- devel
87
- oldrel
98
- release
9+
10+
addons:
11+
apt:
12+
sources:
13+
- sourceline: 'ppa:ubuntugis/ppa'
14+
packages:
15+
- libudunits2-dev
16+
- libproj-dev
17+
- libgeos-dev
18+
- libgdal-dev
1019

1120
env:
1221
global:
@@ -21,12 +30,6 @@ env:
2130

2231
before_install:
2332
- echo "Sys.setenv('plotly_username' = 'cpsievert')" > ~/.Rprofile
24-
# sf system dependencies
25-
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
26-
- sudo apt-get --yes --force-yes update -qq
27-
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev
28-
# make sure R pkgs are upt-to-date
29-
- Rscript -e 'update.packages(ask = FALSE)'
3033

3134
before_script:
3235
- if [[ "$TRAVIS_R_VERSION_STRING" == "release" ]]; then docker run -e GITHUB_PAT=$GITHUB_PAT -e MAPBOX_TOKEN=$MAPBOX_TOKEN -e VMODE="ci" -v $(pwd):/home/plotly --privileged cpsievert/plotly-orca; fi

0 commit comments

Comments
 (0)