-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
46 lines (34 loc) · 857 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
# Continuous integration with travis
language: r
sudo: required
# cache packages to speed up builds
cache: packages
r_packages:
- covr
- ggplot2
- testthat
- assertthat
- raster
- sp
- reshape2
- tidyr
- cowplot
- devtools
coverage:
status:
project:
default: false # disable the default status that measures entire project
tests: # declare a new status context "tests"
target: 99% # we always want 80% coverage here
threshold: 7%
after_success:
- Rscript -e 'library(covr);codecov()'
matrix:
include:
- r: release
r_github_packages: andrewzm/INLA
- r: devel
r_github_packages: andrewzm/INLA
- r: devel
env: _R_CHECK_FORCE_SUGGESTS_=false
install: R -e 'install.packages("devtools", dep = TRUE);devtools::install_deps(dep = c("Depends", "Imports"))'