forked from bwlewis/rthreejs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
46 lines (39 loc) · 1.17 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
language: c
sudo: false
warnings_are_errors: true
addons:
apt:
sources:
- r-packages-precise
packages:
- r-base-dev
- r-recommended
- pandoc
- texinfo
- texlive
- texlive-latex-base
- texlive-latex-extra
- texlive-latex-recommended
- texlive-fonts-recommended
- texlive-fonts-extra
- texlive-math-extra
- qpdf
env:
global:
- RunRRedisTests=yes
- R_LIBS_USER=~/R/library
cache:
directories:
$R_LIBS_USER
before_script:
- mkdir -p "$R_LIBS_USER"
- Rscript -e 'if (length(find.package("devtools", quiet = TRUE)) == 0L) { install.packages("devtools", repos = "http://cran.rstudio.com") }'
- Rscript -e 'devtools::update_packages("devtools", repos = "http://cran.rstudio.com")'
- Rscript -e 'devtools::install_deps(repos = "http://cran.rstudio.com", dependencies = TRUE)'
- Rscript -e 'devtools::install_github("jimhester/covr")'
- Rscript -e 'devtools::install_github("jimhester/lintr")'
script:
- Rscript -e 'devtools::check(document=FALSE, build_args="--resave-data")'
after_success:
- Rscript -e 'library(threejs); covr::codecov()'
- Rscript -e 'lintr::lint_package()'