forked from zoonproject/zoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (42 loc) · 959 Bytes
/
.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
language: r
cache: packages
sudo: required
# Install the suggested packages which
# are needed for the vignette builds
r_packages:
- knitr
- testthat
- gam
- spocc
- rmarkdown
- covr
# Add libv8 needed for running rgbif (in spocc)
apt_packages:
- libv8-dev
## After success update the code coverage
after_success:
- Rscript -e 'library(covr);codecov()'
# 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:
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"