-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
42 lines (30 loc) · 989 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
os:
- linux
- osx
language: R
sudo: false
cache: packages
warnings_are_errors: false
# only run for pushes to master branch
branches:
only:
- master
r_packages:
- covr
r_github_packages: andrewzm/INLA
cache:
packages: yes
env:
global:
- R_BUILD_ARGS="--no-build-vignettes --no-manual --no-resave-data"
- R_CHECK_ARGS="--no-build-vignettes --no-manual --timings --as-cran"
- R_CHECK_TIME="TRUE"
- R_CHECK_TESTS="FALSE"
- _R_CHECK_TIMINGS_="0"
- _R_CHECK_FORCE_SUGGESTS_="FALSE"
before_install:
- Rscript -e 'if(!"covr" %in% rownames(installed.packages())) { install.packages("covr", dependencies = TRUE) }'
# - Rscript -e 'if(!"INLA" %in% rownames(installed.packages())) { install.packages("INLA", repos=c(getOption("repos"), INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE) }'
after_success:
- Rscript -e 'library(covr);codecov()'