-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (23 loc) · 1.05 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
# 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 apt-add-repository -y 'deb http://cran.rstudio.com/bin/linux/ubuntu precise/'
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
- sudo apt-add-repository -y ppa:marutter/c2d4u
- sudo apt-get update
- sudo apt-get install r-base-dev r-cran-xml r-cran-rcpp r-cran-rgl r-cran-rcurl 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("OLScurve", dep = TRUE, repos = "http://cran.rstudio.org")'
- Rscript -e 'install.packages("testthat", dep = TRUE, repos = "http://cran.rstudio.org")'
- Rscript -e 'install.packages("knitr", dep = TRUE, repos = "http://cran.rstudio.org")'
- Rscript -e 'install.packages("lavaan", dep = TRUE, repos = "http://cran.rstudio.org")'
# run tests
script:
- make install
- make check