From 4739677c7c0a26aa11d6b8d30975becbf08ce246 Mon Sep 17 00:00:00 2001 From: Alistair Muldal Date: Tue, 13 Apr 2021 18:02:02 +0100 Subject: [PATCH] Enable Travis tests for `sketchy` PiperOrigin-RevId: 368237652 --- .travis.yml | 1 + sketchy/run.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9431041..5ffc0c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,7 @@ env: - PROJECT="option_keyboard" # - PROJECT="polygen" # TODO(b/184847339): Fix and re-enable # - PROJECT="scratchgan" # TODO(b/184856293): Fix and enable + - PROJECT="sketchy" - PROJECT="transporter" - PROJECT="tvt" before_script: diff --git a/sketchy/run.sh b/sketchy/run.sh index d1141a1..42a2e4f 100755 --- a/sketchy/run.sh +++ b/sketchy/run.sh @@ -14,8 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -python3 -m venv .sketchy_env -source .sketchy_env/bin/activate +python3 -m venv /tmp/sketchy_env +source /tmp/sketchy_env/bin/activate pip install --upgrade pip pip install -r sketchy/requirements.txt python -m sketchy.dataset_example --noshow_images