-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
61 lines (53 loc) · 1.46 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
cache: packages
# from https://github.com/edzer/sf_dep/blob/master/.travis.yml
sudo: required
dist: trusty
# from https://github.com/ropensci/magick/blob/master/.travis.yml
env:
- _R_CHECK_FORCE_SUGGESTS_=false
r_check_args: '--ignore-vignettes'
r_build_args: '--no-build-vignettes'
addons:
apt:
update: true
packages:
- libmagick++-dev
- librsvg2-dev
- libwebp-dev
- libpoppler-cpp-dev
- libtesseract-dev
- libleptonica-dev
- tesseract-ocr-eng
- r-cran-rgdal
- libfftw3-dev
- cargo
addons:
apt:
update: true
sources:
- sourceline: 'ppa:opencpu/imagemagick'
packages:
- libmagick++-dev
- librsvg2-dev
- libwebp-dev
- libpoppler-cpp-dev
- libtesseract-dev
- libleptonica-dev
- tesseract-ocr-eng
- r-cran-rgdal
- libfftw3-dev
- cargo
bioc_packages: EBImage
# from https://github.com/edzer/sf_dep/blob/master/.travis.yml
before_install:
- sudo add-apt-repository ppa:ubuntugis/ppa --yes
- sudo apt-get --yes --force-yes update -qq
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev
# from https://pkgdown.r-lib.org/reference/deploy_site_github.html
before_deploy: Rscript -e 'remotes::install_cran("pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github()'
skip_cleanup: true