From 14f4e7217561d9d9f5903636a3834824b7f54420 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Thu, 21 May 2020 14:25:38 +0800 Subject: [PATCH] change xenial to bionic for using python3.6 and fix pytest script. --- .travis.yml | 3 +++ tests/test-all.sh | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9fefa61f8c..877e717eaf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -90,6 +90,7 @@ matrix: esac - os: linux + dist: bionic language: c compiler: gcc env: COVERITY_SCAN=true @@ -125,6 +126,7 @@ matrix: branch_pattern: coverity_scan - os: linux + dist: bionic language: c compiler: gcc env: ENV_COVER=true @@ -230,6 +232,7 @@ matrix: - make > /dev/null - os: linux + dist: bionic language: c compiler: clang env: DESC="linux/clang build" diff --git a/tests/test-all.sh b/tests/test-all.sh index e58a6f5132..f54d094649 100755 --- a/tests/test-all.sh +++ b/tests/test-all.sh @@ -33,9 +33,9 @@ echo "### run Python script ###" cd ../pytest if [ "$1" == "cron" ]; then - ./fulltest.sh > /dev/null | tee pytest-out.txt + ./fulltest.sh 2>&1 | grep 'successfully executed\|failed\|fault' | grep -v 'default'| tee pytest-out.txt else - ./smoketest.sh > /dev/null | tee pytest-out.txt + ./smoketest.sh 2>&1 | grep 'successfully executed\|failed\|fault' | grep -v 'default'| tee pytest-out.txt fi totalPySuccess=`grep 'successfully executed' pytest-out.txt | wc -l` -- GitLab