-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
71 lines (62 loc) · 1.32 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
62
63
64
65
66
67
68
69
70
71
language: r
dist: trusty
cache: packages
sudo: required
##
# code to get gdal working #
addons:
apt:
packages:
- libgdal-dev
- libproj-dev
- r-cran-rjava
- libv8-dev
- libmagick++-dev
r_binary_packages:
- rgdal
###
# Install the suggested packages which
# are needed for the vignette builds
r_packages:
- rworldmap
- knitr
- testthat
- gam
- spocc
- covr
- devtools
r_github_packages:
- rstudio/rmarkdown
- hadley/pkgdown
- cran/SDMTools
## After success update the code coverage and deploy the pkgdown to gh-pages
after_success:
- Rscript -e 'library(covr);codecov()'
- bash ./.deploy_pkgdown.sh
# Warnings don't fail build
warnings_are_errors: false
## Email notification if the package pass status changes
notifications:
email:
recipients:
on_success: change
on_failure: change
## Set up the matrix of different runs
env:
global:
- ENCRYPTION_LABEL: "1d00135b7611"
- COMMIT_AUTHOR_EMAIL: "[email protected]"
matrix:
- r: release
not_cran: true
r_check_args: "--no-manual"
- r: release
not_cran: false
r_check_args: "--no-manual --as--cran"
- r: devel
not_cran: true
r_check_args: "--no-manual"
- r: devel
not_cran: false
r_check_args: "--no-manual --as--cran"