-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
41 lines (36 loc) · 1.09 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
r: bioc-release
cache: packages
stages:
- Setup Cache
- Test
# setup cache first
jobs:
include:
- stage: Setup Cache
r: bioc-release
install:
- R -e "
if(!requireNamespace('BiocManager', quietly=TRUE)){
install.packages('BiocManager');
};
if(!requireNamespace('R.utils', quietly=TRUE)){
install.packages('R.utils');
};
if(!requireNamespace('devtools', quietly=TRUE)){
install.packages('devtools');
};
R.utils::withTimeout(timeout=1800, { try({
devtools::install_dev_deps(
dependencies=c('Depends', 'Imports'),
repos=BiocManager::repositories())
}) });
"
script: true
- stage: Test
r: bioc-release
before_cache:
# they are too big to be cached
- R -e 'remove.packages("MafDb.gnomAD.r2.1.GRCh38")'
- R -e 'remove.packages("MafDb.gnomAD.r2.1.hs37d5")'