This commit is contained in:
liuyq-617 2021-05-06 16:08:26 +08:00
parent 2268535d28
commit fc57fad2db
1 changed files with 6 additions and 14 deletions

View File

@ -11,24 +11,15 @@ steps:
image: gcc image: gcc
commands: commands:
- apt-get update - apt-get update
- apt-get install -y cmake build-essential - apt-get install -y cmake build-essential python3.8 python3-pip
- pip3 install psutil
- pip3 install guppy3
- pip3 install src/connector/python/linux/python3/
- mkdir debug - mkdir debug
- cd debug - cd debug
- cmake .. - cmake ..
- make - make
when: - cd ../tests
branch:
- develop
- master
- name: smoke_test
image: python:3.8
commands:
- pip3 install psutil
- pip3 install guppy3
- pip3 install src/connector/python/linux/python3/
- mkdir -p /drone/src/sim/tsim
- cd tests
- ./test-all.sh smoke - ./test-all.sh smoke
when: when:
branch: branch:
@ -36,6 +27,7 @@ steps:
- master - master
- name: crash_gen - name: crash_gen
image: python:3.8 image: python:3.8
commands: commands: