-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
43 lines (35 loc) · 1.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
warnings_are_errors: false
before_install:
- R -e 'install.packages("rgdal", repos="http://R-Forge.R-project.org")'
before_install:
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
- sudo add-apt-repository -y ppa:cran/jq --yes
- sudo apt-get -qq update
- sudo apt-get install -y libgdal-dev libproj-dev libpoppler-cpp-dev
- sudo apt-get install -y gdal-bin
- sudo apt-get install -y aria2
- PATH="/usr/local/gdal/bin:$PATH"
apt_packages:
- libgdal-dev
- libproj-dev
- libcairo2-dev
- libatk1.0-dev
- libpango1.0-dev
- libgtk2.0-dev
- libglib2.0-dev
- libcurl4-openssl-dev
- libudunits2-dev
#rgl installation
addons:
apt:
packages:
- libgdal-dev
- libproj-dev
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libcgal-dev libglu1-mesa-dev mesa-common-dev; fi
r_build_args: --no-build-vignettes
r_check_args: --no-build-vignettes
env:
- TRAVIS=true