-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml
45 lines (37 loc) · 1.35 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
45
# Use R
language: r
sudo: true
cache: packages
warnings_are_errors: false
env:
global:
- BIOC_USE_DEVEL="FALSE" ## Use the development version
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
- R_CHECK_ARGS="--no-build-vignettes --no-manual --timings" ## do not build vignettes or manual
- _R_CHECK_TIMINGS_="0" ## get the timing information for the examples for all of your functions
- _R_CHECK_FORCE_SUGGESTS_="FALSE" ## Some suggested packages not
## available for r-oldrel
r:
- release
# install jags
before_install:
- sudo apt-get install jags
- sudo apt-get install r-cran-rjags
install:
- R -e 'install.packages("devtools")'
- R -e 'devtools::install_deps(dependencies = TRUE)'
# catch package installation issues sooner rather than later
- R -e 'devtools::install_github("JEFworks/HoneyBADGER")'
# do not build vignettes...takes too long and times out on travis
script:
- R CMD build --no-build-vignettes --no-manual .
- R CMD check --no-build-vignettes --no-manual --timings *tar.gz
# we need to install BiocInstaller for testing Bioconductor packages
bioc_required: true
# only report coverage for the release version
after_success:
- test $TRAVIS_R_VERSION_STRING = 'release' && Rscript -e 'covr::codecov()'
notifications:
email:
on_success: change
on_failure: change