未验证 提交 2670b0ad 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

Hotfix/sangshuduo/td 4025 fix travis ci broken for develop (#5975)

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

modify smoketest.sh to python3.8

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

* [TD-4025]<fix>: travis ci broken due to valgrind dependency missed.

change focal to bionic.

* [TD-4025]<fix>: travis ci broken due to ubuntu 20.04 repo issue.

cherry pick from master.
Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
上级 645afbf9
...@@ -13,7 +13,7 @@ branches: ...@@ -13,7 +13,7 @@ branches:
matrix: matrix:
- os: linux - os: linux
dist: focal dist: bionic
language: c language: c
git: git:
...@@ -28,8 +28,8 @@ matrix: ...@@ -28,8 +28,8 @@ matrix:
- build-essential - build-essential
- cmake - cmake
- net-tools - net-tools
- python3-pip - python3.8
- python3-setuptools - libc6-dbg
- valgrind - valgrind
- psmisc - psmisc
- unixodbc - unixodbc
...@@ -39,6 +39,8 @@ matrix: ...@@ -39,6 +39,8 @@ matrix:
before_script: before_script:
- export TZ=Asia/Harbin - export TZ=Asia/Harbin
- date - date
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.8 get-pip.py
- python3.8 -m pip install --upgrade pip setuptools
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- mkdir debug - mkdir debug
- cd debug - cd debug
......
...@@ -2,36 +2,36 @@ ...@@ -2,36 +2,36 @@
ulimit -c unlimited ulimit -c unlimited
# insert # insert
python3 ./test.py $1 -f insert/basic.py python3.8 ./test.py $1 -f insert/basic.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
python3 ./test.py $1 -f insert/bigint.py python3.8 ./test.py $1 -f insert/bigint.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
python3 ./test.py $1 -f insert/nchar.py python3.8 ./test.py $1 -f insert/nchar.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
python3 ./test.py $1 -f insert/multi.py python3.8 ./test.py $1 -f insert/multi.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
# table # table
python3 ./test.py $1 -f table/column_name.py python3.8 ./test.py $1 -f table/column_name.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
python3 ./test.py $1 -f table/column_num.py python3.8 ./test.py $1 -f table/column_num.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
python3 ./test.py $1 -f table/db_table.py python3.8 ./test.py $1 -f table/db_table.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
# import # import
python3 ./test.py $1 -f import_merge/importDataLastSub.py python3.8 ./test.py $1 -f import_merge/importDataLastSub.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
#tag #tag
python3 ./test.py $1 -f tag_lite/filter.py python3.8 ./test.py $1 -f tag_lite/filter.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
#query #query
python3 ./test.py $1 -f query/filter.py python3.8 ./test.py $1 -f query/filter.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
# client # client
python3 ./test.py $1 -f client/client.py python3.8 ./test.py $1 -f client/client.py
python3 ./test.py $1 -s && sleep 1 python3.8 ./test.py $1 -s && sleep 1
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册