-
Notifications
You must be signed in to change notification settings - Fork 154
/
.travis.yml
52 lines (40 loc) · 1.3 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
46
47
48
49
50
51
52
# Sample .travis.yml for R projects
language: r
warnings_are_errors: true
sudo: true
dist: trusty
env:
global:
- CRAN: http://cran.rstudio.com
notifications:
email:
on_success: change
on_failure: change
r_binary_packages:
- testthat
- devtools
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
install:
## For installing all CRAN dependencies using DESCRIPTION
- ./travis-tool.sh install_deps
## For installing all Bioconductor dependencies using DESCRIPTION
- ./travis-tool.sh install_bioc_deps
# ## Install Github packages
# - ./travis-tool.sh install_github jimhester/covr
env:
global:
- BIOC_USE_DEVEL="FALSE" ## Use the current release 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
script:
- travis_wait ./travis-tool.sh run_tests
after_failure:
- ./travis-tool.sh dump_logs
## Check how much time was spent in each of the example pages
after_script:
- ./travis-tool.sh dump_logs_by_extension "timings"
- ./travis-tool.sh dump_sysinfo