<commit_before>language: r

sudo: required

warnings_are_errors: true

notifications:
  email:
    - <EMAIL>

branches:
  only:
    - master
    - devel

install:
  - Rscript -e "install.packages('devtools', repos = 'http://cran.us.r-project.org')"
  - Rscript -e "install.packages('igraph',   repos = 'http://cran.us.r-project.org')"
  - Rscript -e "install.packages('testthat', repos = 'http://cran.us.r-project.org')"
  - R CMD build packages/nimble
  - R CMD INSTALL packages/nimble

script:
##  - Rscript packages/nimble/tests/test-all.R    2>&1 | tee out
##                                                                ## initial travis setup: 14 mins
##  - Rscript packages/nimble/tests/test-mcmc.R   2>&1 | tee out
  - Rscript packages/nimble/tests/test-models.R 2>&1 | tee out
##  - Rscript packages/nimble/tests/test-trunc.R  2>&1 | tee out  ## PASS on devel, 7/29/15, 38 mins
##  - Rscript packages/nimble/tests/test-others.R 2>&1 | tee out  ## PASS on devel, 7/29/15, 31 mins

after_script:
  - sed -n -E '/[Ww]arning|[Ee]rror[^=]|[Ff]ailure/p' out > error
  - cat error<commit_msg>testing mcmc<commit_after>language: r

sudo: required

warnings_are_errors: true

notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: always
    on_failure: always

branches:
  only:
    - devel

install:
##  - Rscript -e "install.packages('devtools', repos = 'http://cran.us.r-project.org')"
  - Rscript -e "install.packages('igraph',   repos = 'http://cran.us.r-project.org')"
  - Rscript -e "install.packages('testthat', repos = 'http://cran.us.r-project.org')"
  - R CMD build packages/nimble
  - R CMD INSTALL packages/nimble

script:
##  - Rscript packages/nimble/tests/test-all.R    2>&1 | tee out
##                                                                ## initial travis setup:   14 mins
  - Rscript packages/nimble/tests/test-mcmc.R   2>&1 | tee out  ## ???? on devel, 7/29/15, ?? mins
##  - Rscript packages/nimble/tests/test-models.R 2>&1 | tee out  ## PASS on devel, 7/29/15, 34 mins
##  - Rscript packages/nimble/tests/test-trunc.R  2>&1 | tee out  ## PASS on devel, 7/29/15, 38 mins
##  - Rscript packages/nimble/tests/test-others.R 2>&1 | tee out  ## PASS on devel, 7/29/15, 31 mins

after_script:
  - sed -n -E '/[Ww]arning|[Ee]rror[^=]|[Ff]ailure/p' out > error
  - cat error
{'fraction_non_alphanumeric': 0.15875754961173424, 'fraction_numerical': 0.027610008628127698, 'mean_word_length': 2.535060975609756, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6013123', 'n_tokens_mistral': 925, 'n_tokens_neox': 862, 'n_words': 192}