From 825d64a8dad96148c2aaacfe55706b9657b5bf77 Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Fri, 5 Mar 2021 09:34:52 +0000 Subject: [PATCH] fix ci --- .travis/unittest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis/unittest.sh b/.travis/unittest.sh index a2b248f6..f68379ba 100755 --- a/.travis/unittest.sh +++ b/.travis/unittest.sh @@ -1,3 +1,4 @@ + #!/bin/bash abort(){ @@ -15,7 +16,7 @@ unittest(){ if [ $? != 0 ]; then exit 1 fi - find . -name 'tests' -type d -print0 | \ + find . -path ./tools/venv -prune -false -o -name 'tests' -type d -print0 | \ xargs -0 -I{} -n1 bash -c \ 'python3 -m unittest discover -v -s {}' cd - > /dev/null -- GitLab