forked from BiologicalRecordsCentre/sparta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 852 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
language: r
cache: packages
sudo: required
# Add rjags needed for running occupancy models
apt_packages:
- r-cran-rjags
- libv8-dev
r_packages:
- rjags
- covr
## After success update the code coverage
after_success:
- Rscript -e 'library(covr);codecov()'
## Email notification if the package pass status changes
notifications:
email:
recipients:
on_success: change
on_failure: change
# Warnings dont fail build
warnings_are_errors: false
## 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"