[TRAVIS] Fix script
This commit is contained in:
parent
bb0d163d22
commit
80239aaf00
@ -26,10 +26,14 @@ if [ ${TASK} == "python_test" ]; then
|
|||||||
echo "-------------------------------"
|
echo "-------------------------------"
|
||||||
source activate python3
|
source activate python3
|
||||||
python --version
|
python --version
|
||||||
|
conda install numpy scipy pandas matplotlib nose scikit-learn
|
||||||
|
python -m pip install graphviz
|
||||||
python -m nose tests/python || exit -1
|
python -m nose tests/python || exit -1
|
||||||
source activate python2
|
source activate python2
|
||||||
echo "-------------------------------"
|
echo "-------------------------------"
|
||||||
python --version
|
python --version
|
||||||
|
conda install numpy scipy pandas matplotlib nose scikit-learn
|
||||||
|
python -m pip install graphviz
|
||||||
python -m nose tests/python || exit -1
|
python -m nose tests/python || exit -1
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -26,10 +26,4 @@ if [ ${TASK} == "python_test" ]; then
|
|||||||
conda info -a
|
conda info -a
|
||||||
conda create -n python3 python=3.5
|
conda create -n python3 python=3.5
|
||||||
conda create -n python2 python=2.7
|
conda create -n python2 python=2.7
|
||||||
source activate python3
|
|
||||||
conda install numpy scipy pandas matplotlib nose scikit-learn
|
|
||||||
python -m pip install graphviz
|
|
||||||
source activate python2
|
|
||||||
conda install numpy scipy pandas matplotlib nose scikit-learn
|
|
||||||
python -m pip install graphviz
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user