mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
24 lines
721 B
YAML
24 lines
721 B
YAML
version: v1.0
|
|
name: Basic test
|
|
agent:
|
|
machine:
|
|
type: e1-standard-2
|
|
os_image: ubuntu2004
|
|
blocks:
|
|
- name: Run test
|
|
task:
|
|
jobs:
|
|
- name: test
|
|
commands:
|
|
- echo "git config --global --add safe.directory '*'" > test.sh
|
|
- echo "ln -s /usr/bin/python3 /usr/bin/python" >> test.sh
|
|
- echo "make test" >> test.sh
|
|
- docker/run.sh -it paparazziuav/pprz-ci bash test.sh
|
|
prologue:
|
|
commands:
|
|
- 'sudo rm -rf /home/semaphore/{.phpbrew,.phpunit,.kerl,.kiex,.lein,.nvm,.npm,.rbenv}'
|
|
- docker pull paparazziuav/pprz-ci
|
|
- checkout
|
|
- git submodule update --init --force --recursive
|
|
dependencies: []
|