Skip to content

Commit

Permalink
change makefile to be compatible with r-travis
Browse files Browse the repository at this point in the history
  • Loading branch information
hetong007 committed Jun 16, 2015
1 parent 5568f83 commit 67f0b69
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ before_install:
- ./travis-tool.sh bootstrap

install:
- cd ./R-package
- make Rpack
- cd ./xgboost
- ../travis-tool.sh install_deps

script:
- bash ../travis-tool.sh run_tests
- bash cat /home/travis/build/dmlc/xgboost/R-package/xgboost.Rcheck/00install.out

after_failure: cat /home/travis/build/dmlc/xgboost/R-package/xgboost.Rcheck/00install.out

on_failure:
- cat /home/travis/build/dmlc/xgboost/R-package/xgboost.Rcheck/00install.out
- ../travis-tool.sh dump_logs

after_script: cat /home/travis/build/dmlc/xgboost/R-package/xgboost.Rcheck/00install.out


notifications:
email:
recipients:
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ Rpack:
cp xgboost/src/Makevars xgboost/src/Makevars.win
# R CMD build --no-build-vignettes xgboost
R CMD build xgboost
# rm -rf xgboost
# R CMD check --as-cran xgboost*.tar.gz

Rcheck:
make Rpack
rm -rf xgboost
R CMD check --as-cran xgboost*.tar.gz

Expand Down

0 comments on commit 67f0b69

Please sign in to comment.