forked from Rapporter/pander
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (25 loc) · 1011 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
#
# Forked from Yihui's `knitr` version: https://raw.github.com/yihui/knitr/master/.travis.yml
#
# it is not really python, but there is no R support on Travis CI yet
language: python
# environment variables
env:
- R_LIBS_USER=~/R
# install dependencies
install:
- sudo add-apt-repository 'deb http://cran.r-project.org/bin/linux/ubuntu precise/'
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
- sudo apt-get update
- sudo apt-get install r-base-dev pandoc qpdf texinfo texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
- "[ ! -d ~/R ] && mkdir ~/R"
- R --version
- R -e '.libPaths(); sessionInfo()'
- Rscript -e 'install.packages("ggplot2", dep = TRUE, repos = "http://cran.r-project.org")'
- Rscript -e 'install.packages("testthat", dep = TRUE, repos = "http://cran.r-project.org")'
- Rscript -e 'install.packages("pander", dep = TRUE, repos = "http://cran.r-project.org")'
# run tests
script:
- make install
- make check
- make test