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