add travis-ci script for java wrapper

This commit is contained in:
yanqingmen
2015-07-07 19:22:51 +08:00
parent 0fc47f5abb
commit fc75885e9e
3 changed files with 12 additions and 0 deletions

6
scripts/travis_java_script.sh Executable file
View File

@@ -0,0 +1,6 @@
# Test java package of xgboost
cd java
./create_wrap.sh
cd xgboost4j
mvn clean install -DskipTests=true
mvn test

View File

@@ -26,3 +26,8 @@ if [ ${TASK} == "python-package" ]; then
make all CXX=${CXX} || exit -1
nosetests tests/python || exit -1
fi
if [ ${TASK} == "java-package" ]; then
make java CXX=${CXX} || exit -1
scripts/travis_java_script.sh || exit -1
fi