forked from BiologicalRecordsCentre/wrappeR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 824 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
cache: packages
sudo: required
r_packages:
- covr
## After success update the code coverage
after_success:
- Rscript -e 'covr::codecov()'
## Email notification if the package pass status changes
notifications:
email:
recipients:
- robboy@ceh.ac.uk
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"