-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
31 lines (31 loc) · 1.19 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
matrix:
include:
- language: r
r:
- release
sudo: false
cache: packages
addons:
apt:
packages:
- libgit2-dev
- libssl-dev
- libxml2-dev
r_check_args: --as-cran --run-donttest
r_binary_packages:
- devtools
- roxygen2
- testthat
before_install:
- R -e 'install.packages(c("alakazam", "ape", "CollessLike", "data.table", "devtools", "dplyr", "entropy", "HDMD", "jsonlite", "magrittr", "Peptides", "RecordLinkage", "roxygen2", "shazam", "seqinr", "stringdist", "stringr", "testthat", "textmineR", "yaml"))'
- R -e 'if (!requireNamespace("BiocManager", quietly = TRUE)) { install.packages("BiocManager") }; BiocManager::install("Biostrings")'
- R -e 'devtools::install_github("matsengrp/sumrep", ref="master", dependencies=TRUE)'
install:
- R -e 'devtools::install_deps(dep=T)'
before_script:
- R -e 'devtools::document()'
script:
- R CMD build .
- R CMD check *tar.gz --as-cran --run-donttest
- Rscript -e "devtools::install('.')"
- inst/repcred.R -r inst/extdata/ExampleDb.tsv -o outdir -d FALSE