Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist: trusty
dist: xenial
language: python
python:
- "2.7"
Expand Down
2 changes: 1 addition & 1 deletion tensorboard/pip_package/build_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ build() (
s/from tensorflow_serving/from tensorboard._vendor.tensorflow_serving/
' {} +

virtualenv -q venv
virtualenv -q --always-copy venv
export VIRTUAL_ENV=venv
export PATH="${PWD}/venv/bin:${PATH}"
unset PYTHON_HOME
Expand Down
5 changes: 4 additions & 1 deletion tensorboard/plugins/example/smoke_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tar xzvf \
"${TEST_SRCDIR}/org_tensorflow_tensorboard/tensorboard/pip_package/pip_packages.tar.gz" \
-C ./tensorboard-wheels/

virtualenv venv
virtualenv --always-copy venv
export VIRTUAL_ENV=venv
export PATH="${PWD}/venv/bin:${PATH}"
unset PYTHON_HOME
Expand All @@ -50,6 +50,9 @@ pip uninstall -y tensorboard tb-nightly # drop conflicting packages
pip install ./tensorboard-wheels/*py"${py_major_version}"*.whl
pip install ./example-plugin/dist/*.whl

if ! python -c 'print(list(__import__("pkg_resources").iter_entry_points("tensorboard_plugins")))'; then echo $?; fi
if ! python -c 'print(__import__("tensorboard_plugin_example"))'; then echo $?; fi

python -m tensorboard_plugin_example.demo

# Test tensorboard + tensorboard_plugin_example integration.
Expand Down