-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (28 loc) · 850 Bytes
/
.travis.yml
File metadata and controls
35 lines (28 loc) · 850 Bytes
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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
os: linux
dist: bionic
sudo: true
r:
- oldrel
- release
- devel
cache:
- packages
- ccache
repos:
CRAN: http://cran.rstudio.com
apt_packages:
- libxml2-dev
install:
# Install R package dependencies
- R -e 'install.packages("devtools", dependencies=TRUE)'
- R -e 'install.packages(c("testthat", "roxygen2"))'
# Install GenomicsDB
- source .travis/install_genomicsdb.sh
script:
# Build and Test R package
- R CMD build .
- R CMD INSTALL --configure-args="--with-genomicsdb=${GENOMICSDB_HOME}" genomicsdb_0.0.3.tar.gz
- R CMD check --no-manual --install-args="--configure-args='--with-genomicsdb=${GENOMICSDB_HOME}'" genomicsdb_0.0.3.tar.gz
- R -e 'library(devtools); devtools::test()'