diff --git a/.travis.yml b/.travis.yml
index e2453d00301ee809f7c32b50185227b2efd5a972..60d2565de3fb9871f5564ab81984fd9a86337e27 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,8 +22,7 @@ before_script:
   - "./travis-tool.sh bootstrap"
   - "./travis-tool.sh install_deps - ./travis-tool.sh install_r XML RCurl plyr reshape2 lubridate httr knitr xtable testthat"
 
-
-on_failure:
+after_script
   - "./travis-tool.sh dump_logs"
 
 notifications: