Add Coverage Report for Java and Python (#2667)

* Add coverage report for java

* Add coverage report for python

* Increase memory for JVM unit tests

* Increase memory for JVM unit tests
This commit is contained in:
Yun Ni
2017-09-05 14:46:51 -07:00
committed by Nan Zhu
parent 2e9d06443e
commit f04bde05fd
3 changed files with 26 additions and 3 deletions

View File

@@ -32,8 +32,10 @@ if [ ${TASK} == "python_test" ]; then
source activate python3
python --version
conda install numpy scipy pandas matplotlib nose scikit-learn
python -m pip install graphviz
python -m pip install graphviz pytest pytest-cov codecov
python -m nose tests/python || exit -1
py.test tests/python --cov=python-package/xgboost
codecov
source activate python2
echo "-------------------------------"
python --version
@@ -49,8 +51,10 @@ if [ ${TASK} == "python_lightweight_test" ]; then
source activate python3
python --version
conda install numpy scipy nose
python -m pip install graphviz
python -m pip install graphviz pytest pytest-cov codecov
python -m nose tests/python || exit -1
py.test tests/python --cov=python-package/xgboost
codecov
source activate python2
echo "-------------------------------"
python --version