Skip to content

Commit 4e2a918

Browse files
committed
HACK: force travis to use TF 2.4.0rc1, but reuse caches from the notf build
1 parent ccace6d commit 4e2a918

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ env:
2222
- BAZEL=2.1.0
2323
- BAZEL_SHA256SUM=e13581d44faad6ac807dd917e682fef20359d26728166ac35dadd8ee653a580d
2424
matrix:
25-
- TF_VERSION_ID=tensorflow==2.4.0rc1
25+
# HACK: do not try the 2.4.0rc1 because Travis CI cannot reuse any caches.
26+
# - TF_VERSION_ID=tensorflow==2.4.0rc1
2627
- TF_VERSION_ID= # Do not install TensorFlow in this case
2728

2829
cache:
@@ -63,6 +64,10 @@ install:
6364
;
6465
# Keep the node version in sync with node_js key above.
6566
- nvm use v11
67+
# HACK: intentionally test just 2.4.0rc1, since the notf version was tested
68+
# and historically passed in:
69+
# https://travis-ci.org/github/tensorflow/tensorboard/builds/742878781
70+
- export TF_VERSION_ID=tensorflow==2.4.0rc1
6671
- |
6772
# Install TensorFlow if requested
6873
if [ -n "${TF_VERSION_ID}" ]; then

0 commit comments

Comments
 (0)