forked from zoonproject/zoontutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (47 loc) · 1008 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
50
51
52
53
54
55
language: r
dist: trusty
cache: packages
sudo: required
addons:
apt:
packages:
- libgdal-dev
- libproj-dev
- r-cran-rjava
- libv8-dev
- libmagick++-dev
r_binary_packages:
- rgdal
r_packages:
- knitr
- gam
- spocc
- zoon
- gridExtra
- lattice
script:
- travis_wait 100 R CMD build
- travis_wait 100 R CMD check zoontutorials_*.tar.gz --as-cran
## After success update the code coverage and deploy the pkgdown to gh-pages
after_success:
- Rscript -e 'devtools::build_vignettes()'
# 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:
- COMMIT_AUTHOR_EMAIL: "[email protected]"
matrix:
- r: release
not_cran: true
r_check_args: "--no-manual"
- r: devel
not_cran: true
r_check_args: "--no-manual"