forked from EcoForecast/EF_Activities
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (28 loc) · 1.6 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
language: c
# To build on OSX, switch the previous line to
# language: objective-c
sudo: required
script:
- Rscript -e "require(knitr); fname = 'Exercise_01_RPrimer.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_02_Logistic.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_03_BigData.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_04_PairCoding.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_05_JAGS.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_06_StateSpace.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_07_TreeRings.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_09_KalmanFilter.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_10_ParticleFilter.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_11_ModelAssessment.Rmd'; knit(fname); purl(fname)"
- Rscript -e "require(knitr); fname = 'Exercise_12_DecisionSupport.Rmd'; knit(fname); purl(fname)"
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
- wget https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Source/JAGS-4.1.0.tar.gz
- tar -xvzf JAGS-4.1.0.tar.gz
- (cd JAGS-4.1.0; ./configure; make; sudo make install)
install:
- ./travis-tool.sh install_deps
env:
global:
- BOOTSTRAP_LATEX="1"