File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,18 @@ matrix:
33
33
- env : DISTRIB="ubuntu"
34
34
# Latest release
35
35
- env : DISTRIB="conda" PYTHON_VERSION="3.6"
36
- NUMPY_VERSION="*" SCIPY_VERSION="*" SKLEARN_VERSION="0.21"
36
+ NUMPY_VERSION="*" SCIPY_VERSION="*" SKLEARN_VERSION="0.21.2"
37
+ OPTIONAL_DEPS="false"
37
38
- env : DISTRIB="conda" PYTHON_VERSION="3.7"
38
- NUMPY_VERSION="1.14.6" SCIPY_VERSION="1.1.0" SKLEARN_VERSION="0.21"
39
+ NUMPY_VERSION="*" SCIPY_VERSION="*" SKLEARN_VERSION="0.21.2"
40
+ OPTIONAL_DEPS="false"
39
41
- env : DISTRIB="conda" PYTHON_VERSION="3.7"
40
42
NUMPY_VERSION="*" SCIPY_VERSION="*" SKLEARN_VERSION="master"
43
+ OPTIONAL_DEPS="false"
41
44
allow_failures :
42
45
- env : DISTRIB="conda" PYTHON_VERSION="3.7"
43
46
NUMPY_VERSION="*" SCIPY_VERSION="*" SKLEARN_VERSION="master"
47
+ OPTIONAL_DEPS="false"
44
48
45
49
install : source build_tools/travis/install.sh
46
50
script : bash build_tools/travis/test_script.sh
Original file line number Diff line number Diff line change 10
10
11
11
set -e
12
12
13
- echo ' List files from cached directories'
14
- echo ' pip:'
15
- ls $HOME /.cache/pip
16
-
17
13
export CC=/usr/lib/ccache/gcc
18
14
export CXX=/usr/lib/ccache/g++
19
15
# Useful for debugging how ccache is used
@@ -40,8 +36,7 @@ if [[ "$DISTRIB" == "conda" ]]; then
40
36
source activate testenv
41
37
conda install --yes numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION
42
38
43
- if [[ $PYTHON_VERSION == " 3.6" ]]; then
44
- # Tensorflow is not available in Python 3.7 yet.
39
+ if [[ " $OPTIONAL_DEPS " == " true" ]]; then
45
40
conda install --yes pandas keras tensorflow
46
41
KERAS_BACKEND=tensorflow
47
42
python -c " import keras.backend"
You can’t perform that action at this time.
0 commit comments