mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
49a12804b3
Drone is a continuous integration server that can be installed locally. The included Drone configuration mimics the Travis build scripts except for the build matrix feature, all targets are built sequentially by the dist/tools/drone-scripts/build_and_test.sh script instead of in separate instances. See: https://github.com/drone/drone
20 lines
502 B
YAML
20 lines
502 B
YAML
image: riot/riotbuild:latest
|
|
|
|
env:
|
|
- NPROC_MAX=8
|
|
|
|
script:
|
|
- git config --global user.email "drone@example.com"
|
|
- git config --global user.name "Drone CI"
|
|
- git remote add riot https://github.com/RIOT-OS/RIOT.git
|
|
- git fetch riot master
|
|
- git log -1 --pretty=format:%H riot/master
|
|
- git branch -f master riot/master
|
|
- pwd
|
|
- set
|
|
- git status
|
|
- git branch
|
|
- git remote -v
|
|
- git branch -avv
|
|
- ./dist/tools/drone-scripts/build_and_test.sh riot/master
|