Files
paparazzi/.semaphore/semaphore.yml
T
2023-03-13 09:27:34 +01:00

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: []