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