change makefile to be compatible with r-travis
This commit is contained in:
parent
5568f83a6c
commit
67f0b69a4c
11
.travis.yml
11
.travis.yml
@ -14,21 +14,16 @@ before_install:
|
|||||||
- ./travis-tool.sh bootstrap
|
- ./travis-tool.sh bootstrap
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cd ./R-package
|
- make Rpack
|
||||||
|
- cd ./xgboost
|
||||||
- ../travis-tool.sh install_deps
|
- ../travis-tool.sh install_deps
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bash ../travis-tool.sh run_tests
|
- 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
|
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:
|
notifications:
|
||||||
email:
|
email:
|
||||||
recipients:
|
recipients:
|
||||||
|
|||||||
5
Makefile
5
Makefile
@ -145,6 +145,11 @@ Rpack:
|
|||||||
cp xgboost/src/Makevars xgboost/src/Makevars.win
|
cp xgboost/src/Makevars xgboost/src/Makevars.win
|
||||||
# R CMD build --no-build-vignettes xgboost
|
# R CMD build --no-build-vignettes xgboost
|
||||||
R CMD build xgboost
|
R CMD build xgboost
|
||||||
|
# rm -rf xgboost
|
||||||
|
# R CMD check --as-cran xgboost*.tar.gz
|
||||||
|
|
||||||
|
Rcheck:
|
||||||
|
make Rpack
|
||||||
rm -rf xgboost
|
rm -rf xgboost
|
||||||
R CMD check --as-cran xgboost*.tar.gz
|
R CMD check --as-cran xgboost*.tar.gz
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user