From 0bbb4a07b2731e102a9234fb5396c8c254de9b5c Mon Sep 17 00:00:00 2001 From: hetong007 Date: Mon, 15 Jun 2015 15:25:40 -0700 Subject: [PATCH] add travis conf, waiting for setting on travis-ci.org --- .travis.yml | 31 +++++++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..6a908ea99 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +language: c + +env: + global: + - _R_CHECK_TIMINGS_=0 + +warnings_are_errors: false + +sudo: required + +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 + +install: + - cd ./R-package + - ../travis-tool.sh install_deps + +script: ../travis-tool.sh run_tests + +on_failure: + - ../travis-tool.sh dump_logs + +notifications: + email: + recipients: + - hetong007@gmail.com + on_success: change + on_failure: always + diff --git a/README.md b/README.md index 415bf771b..59f2028c8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ XGBoost: eXtreme Gradient Boosting ================================== +[![Build Status](https://travis-ci.org/dmlc/xgboost.png)](https://travis-ci.org/dmlc/xgboost) + An optimized general purpose gradient boosting library. The library is parallelized, and also provides an optimized distributed version. It implements machine learning algorithm under gradient boosting framework, including generalized linear model and gradient boosted regression tree (GBDT). XGBoost can also be distributed and scale to Terascale data