File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,6 @@ if [[ "$DISTRIB" == "conda" ]]; then
40
40
source activate testenv
41
41
conda install --yes numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION
42
42
# only install optional dependency in python 3.6
43
- if [[ $PYTHON_VERSION == " 3.6" ]]; then
44
- conda install --yes pandas keras
45
- fi
46
43
47
44
if [[ " $SKLEARN_VERSION " == " master" ]]; then
48
45
conda install --yes cython
@@ -51,6 +48,13 @@ if [[ "$DISTRIB" == "conda" ]]; then
51
48
conda install --yes scikit-learn=$SKLEARN_VERSION
52
49
fi
53
50
51
+ if [[ $PYTHON_VERSION == " 3.6" ]]; then
52
+ conda install --yes pandas keras
53
+ KERAS_BACKEND=tensorflow
54
+ python -c " import keras.backend"
55
+ sed -i -e ' s/"backend":[[:space:]]*"[^"]*/"backend":\ "' $KERAS_BACKEND ' /g' ~ /.keras/keras.json;
56
+ fi
57
+
54
58
conda install --yes nose pytest pytest-cov
55
59
# Install nose-timer via pip
56
60
pip install nose-timer codecov
You can’t perform that action at this time.
0 commit comments