[ci] remove travis
This commit is contained in:
parent
7e38f8ca6f
commit
dfd25b3b04
30
.travis.yml
30
.travis.yml
|
@ -1,30 +0,0 @@
|
|||
language: python
|
||||
sudo: required
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
install:
|
||||
- sudo apt-get update
|
||||
- "sudo apt-get -yqq install scons qemu git || true"
|
||||
- "qemu-system-arm --version || true"
|
||||
- "wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/arm-2017q2-v6/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 && sudo tar xjf gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -C /opt && export RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-6-2017-q2-update/bin && /opt/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc --version || true"
|
||||
- export UTEST_RUNNER_PATH='../UtestRunner'
|
||||
- export TEST_BSP_ROOT='../AutoTestBsp'
|
||||
- "git clone https://github.com/armink/UtestRunner.git $UTEST_RUNNER_PATH"
|
||||
- "git clone https://github.com/armink/FlashDBAutoTestBSP.git $TEST_BSP_ROOT"
|
||||
|
||||
stage: test
|
||||
script:
|
||||
- "cp -rf src/* $TEST_BSP_ROOT/packages/FlashDB/src"
|
||||
- "cp -rf tests/* $TEST_BSP_ROOT/packages/FlashDB/tests"
|
||||
- "cp -rf inc/fdb_def.h $TEST_BSP_ROOT/packages/FlashDB/inc/fdb_def.h"
|
||||
- "cp -rf inc/fdb_low_lvl.h $TEST_BSP_ROOT/packages/FlashDB/inc/fdb_low_lvl.h"
|
||||
- "cp -rf inc/flashdb.h $TEST_BSP_ROOT/packages/FlashDB/inc/flashdb.h"
|
||||
- "scons -j$(nproc) -C $TEST_BSP_ROOT || true"
|
||||
- python3 $UTEST_RUNNER_PATH/qemu_runner.py --elf $TEST_BSP_ROOT/rtthread.elf --sd $TEST_BSP_ROOT/sd.bin
|
||||
- cat rtt_console.log
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
![](docs/_media/flashdb.png)
|
||||
|
||||
[![Build Status](https://travis-ci.com/armink/FlashDB.svg?branch=master)](https://travis-ci.com/armink/FlashDB) [![license](https://img.shields.io/github/license/armink/FlashDB)](https://raw.githubusercontent.com/armink/FlashDB/master/LICENSE) [![docs](https://img.shields.io/badge/docs-perfect-blue)](https://armink.github.io/FlashDB/#/)
|
||||
![GitHub Action](https://github.com/armink/UtestRunner/workflows/AutoTestCI/badge.svg) [![license](https://img.shields.io/github/license/armink/FlashDB)](https://raw.githubusercontent.com/armink/FlashDB/master/LICENSE) [![docs](https://img.shields.io/badge/docs-perfect-blue)](https://armink.github.io/FlashDB/#/)
|
||||
|
||||
EN | [中文](README_zh.md)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
![](docs/_media/flashdb.png)
|
||||
|
||||
[![Build Status](https://travis-ci.com/armink/FlashDB.svg?branch=master)](https://travis-ci.com/armink/FlashDB) [![license](https://img.shields.io/github/license/armink/FlashDB)](https://raw.githubusercontent.com/armink/FlashDB/master/LICENSE) [![docs](https://img.shields.io/badge/docs-perfect-blue)](http://armink.gitee.io/flashdb/#/zh-cn/ )
|
||||
![GitHub Action](https://github.com/armink/UtestRunner/workflows/AutoTestCI/badge.svg) [![license](https://img.shields.io/github/license/armink/FlashDB)](https://raw.githubusercontent.com/armink/FlashDB/master/LICENSE) [![docs](https://img.shields.io/badge/docs-perfect-blue)](http://armink.gitee.io/flashdb/#/zh-cn/ )
|
||||
|
||||
[EN](README.md) | 中文
|
||||
|
||||
|
|
Loading…
Reference in New Issue