Skip to content

Commit b1d114e

Browse files
add tensorflow 1.12 to travis
1 parent 2439e0c commit b1d114e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
- KERAS_BACKEND="tensorflow"
99
- KERAS_BACKEND="theano" THEANO_FLAGS=optimizer=fast_compile
1010
- KERAS_IMPLEMENTATION="tensorflow"
11+
- KERAS_IMPLEMENTATION="tensorflow" TENSORFLOW_VERSION="1.12"
1112

1213
cache:
1314
packages: true
@@ -17,6 +18,12 @@ cache:
1718

1819
before_script:
1920
- pip2.7 install --upgrade --ignore-installed --user travis virtualenv
20-
- pip2.7 install --upgrade --ignore-installed --user travis keras h5py pyyaml requests Pillow scipy theano tensorflow
21+
- pip2.7 install --upgrade --ignore-installed --user travis keras h5py pyyaml requests Pillow scipy theano
22+
- if [[ $TENSORFLOW_VERSION == "1.12" ]]; then
23+
pip2.7 install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.12.0-cp27-none-linux_x86_64.whl
24+
else
25+
pip2.7 install tensorflow
26+
fi
27+
- pip show tensorflow
2128

2229

0 commit comments

Comments
 (0)