forked from rstudio/DT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 828 Bytes
/
.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
language: c
sudo: false
env:
matrix:
- R_PKG="$(basename $TRAVIS_REPO_SLUG)"
global:
secure: "UA1wwxtwlWOb7glP37H4zWmcd/NNToRtV33EoD5zutf4BF+nCs6TdDAcKCQEvJz6r0KQswwgzPWALbNfn3dFDyB01jXIqrznCAeJfyz8dI38lxDj7fEdUstFeKXwkizYB13w7lsIu2NXJQXS2Nr4Dot5sKFFV7JrPiXzfoKUcSM="
addons:
apt:
sources:
- r-packages-precise
packages:
- r-base-dev
- r-recommended
install:
- "wget -q -O - http://yihui.name/xran/r-config | bash"
- Rscript -e "if (!require('devtools')) install.packages('devtools')"
- Rscript -e "devtools::install_deps(dep = TRUE)"
cache:
directories:
- $HOME/R
script:
- cd ..; rm -f *.tar.gz; R CMD build $R_PKG
- R CMD check $R_PKG*.tar.gz --no-manual
- cd $R_PKG
# deploy to XRAN
after_success:
- set -e
- "(wget -q -O - http://yihui.name/xran/r-xran | bash)"