Skip to content

Continuous Integration

maverickg edited this page Jun 12, 2018 · 3 revisions

RStan is built at travis-ci upon new commit and daily using Jenkins.

Notes about Travis-CI

  • Package StanHeaders is built rather than downloaded from CRAN
  • The whole process includes running all unit tests in rstan. Write tests for your code.
  • A different branch of stan_math or stan should be used---change the value of STAN_BRANCH and/or STAN_MATH_BRANCH
  • For now, in order to avoid StanHeader version is higher than rstan version, rstan version would be changed to what global variable RSTAN_NEXT_VER

Additional notes about Travis-CI

  • Here we use submodules: false so we later use git checkout inside the folder for stan/stan_math repos to avoid error caused by git submodule update --init --recursive