test: Add travis CI

Signed-off-by: Sebastian Meyer <ich@sebmeyer.de>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Sebastian Meyer
2018-02-01 22:49:50 +01:00
committed by Kevin O'Connor
parent 58dd6d9106
commit a6b0649cb1
8 changed files with 71 additions and 0 deletions

20
.travis.yml Normal file
View File

@@ -0,0 +1,20 @@
language: c
addons:
apt:
sourceline: 'ppa:team-gcc-arm-embedded/ppa'
packages:
- gcc-avr
- avr-libc
- wget
env:
- TARGET=atmega2560-16mhz
- TARGET=atmega328-16mhz
# - TARGET=beaglebone needs pru-gcc (not out of the box available on Ubuntu)
- TARGET=hostsimulator
- TARGET=linuxprocess
- TARGET=sam3x8e GCC_SRC=https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2017q4/gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2 GCC_DIR=gcc-arm-none-eabi-7-2017-q4-major
script: ./test/travis-build.sh