From 77e05b358e856a55564da72eb40415fe1c42d595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Tue, 3 Dec 2013 00:03:42 +0100 Subject: [PATCH 1/3] install testthat from GitHub --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index fa768cd84..1ea663ca6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ before_install: - ./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 notifications: email: on_success: change From 71ab110bee0d630c6859cc456438a670a301b79c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Tue, 3 Dec 2013 00:28:54 +0100 Subject: [PATCH 2/3] print logs on failure --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1ea663ca6..b084fc63b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ 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 From 0eca46fe5aebc7dcc7966dbde0714d388aba0cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Tue, 3 Dec 2013 00:39:32 +0100 Subject: [PATCH 3/3] install LaTeX to satisfy otherwise failing tests --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index b084fc63b..fe8dcb7fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,3 +21,4 @@ env: - global: - WARNINGS_ARE_ERRORS=1 - _R_CHECK_FORCE_SUGGESTS_=0 + - BOOTSTRAP_LATEX=1