Skip to content

Commit

Permalink
HACK: force travis to use TF 2.4.0rc1, but reuse caches from the notf…
Browse files Browse the repository at this point in the history
… build
  • Loading branch information
psybuzz committed Nov 12, 2020
1 parent ccace6d commit 4e2a918
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ env:
- BAZEL=2.1.0
- BAZEL_SHA256SUM=e13581d44faad6ac807dd917e682fef20359d26728166ac35dadd8ee653a580d
matrix:
- TF_VERSION_ID=tensorflow==2.4.0rc1
# HACK: do not try the 2.4.0rc1 because Travis CI cannot reuse any caches.
# - TF_VERSION_ID=tensorflow==2.4.0rc1
- TF_VERSION_ID= # Do not install TensorFlow in this case

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

0 comments on commit 4e2a918

Please sign in to comment.