代码拉取完成,页面将自动刷新
#!/bin/bash
# Exit if any process returns non-zero status.
set -e
# Display the commands being run in logs, which are replicated to sponge.
set -x
# Bring in useful functions.
source "pypi_utils.sh"
# Run script.
if ! which virtualenv > /dev/null; then
echo -e "virtualenv not found! needed for tests. Install? (y/n)"
read REPLY
if [ "$REPLY" = "y" ]; then
sudo apt-get install virtualenv
fi
fi
# Run unit tests.
run_unittests_tests "python3.6" "TF1.x"
run_unittests_tests "python3.6" "TF2.x"
# Test that we can build the whl.
test_build_and_install_whl "python3.6" "TF1.x"
test_build_and_install_whl "python3.6" "TF2.x"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。