Add a Travis-CI script

Travis-CI can automatically build-test the code on every commit or pull
request.
This commit is contained in:
Jonathan Neuschäfer 2018-10-22 00:52:32 +02:00
parent 1165266dbf
commit bf01d6e9da
1 changed files with 13 additions and 0 deletions

13
.travis.yml Normal file
View File

@ -0,0 +1,13 @@
language: c
dist: xenial
addons:
apt:
packages:
- gcc-arm-none-eabi
- libnewlib-arm-none-eabi
script:
- for board in $(ls boards/*.h | cut -d/ -f2 | cut -d. -f1); do
make BOARD="$board" || return 1;
done
- make distclean