Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
language: c
script: ./travis-tool.sh run_tests

after_failure:
- ./travis-tool.sh dump_logs

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
- ./travis-tool.sh r_binary_install XML Rcpp knitr brew RUnit inline highlight formatR highr markdown rgl
install:
- ./travis-tool.sh install_deps
# Install testthat after running install_deps, otherwise devtools itself might be installed from CRAN or c2d4u
- ./travis-tool.sh install_github hadley/testthat

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this come before install_deps? Otherwise two versions of testthat will be installed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was afraid that if it comes before install_deps, two versions of devtools will be installed. But I haven't actually checked.

notifications:
email:
on_success: change
Expand All @@ -15,3 +21,4 @@ env:
- global:
- WARNINGS_ARE_ERRORS=1
- _R_CHECK_FORCE_SUGGESTS_=0
- BOOTSTRAP_LATEX=1