forked from lindeloev/mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (39 loc) · 1.04 KB
/
.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
language: r
# Which OSes and R releases to test on
matrix:
include:
# Patchwork fails to install on oldrel, so this is not tested atm.
# Only do code coverage on this one (fails on os:osx + r:devel)
- os: linux
r: release
r_github_packages: r-lib/covr
env: R_CODECOV=cover-this-build-only
- os: linux
r: devel
- os: osx
r: release
# Fails because https://cloud.r-project.org/bin/macosx/el-capitan/contrib/4.0/PACKAGES does not exist
#- os: osx
# r: devel
# Do not rebuild packages from source on every commit.
# Perhaps later look at this: https://pjs-web.de/post/using-ccache-to-speed-up-r-package-checks-on-travis-ci/
cache: packages
r_binary_packages:
- dplyr
- stringi
- rstan
- StanHeaders
- curl
- openssl
r_build_args: "--no-build-vignettes"
r_check_args: "--no-build-vignettes --as-cran"
warnings_are_errors: false
# Install JAGS
addons:
apt:
packages: jags
homebrew:
packages: jags
# Get code coverage
after_success:
- test $R_CODECOV && Rscript -e "covr::coveralls()"