diff --git a/.travis.yml b/.travis.yml index 3a035fd2e..f00dc2f9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,11 @@ before_script: msp430-gcc --version ## Install avr toolchain - - sudo apt-get -qq install gcc-avr avr-libc + - $WGET http://atiselsts.github.io/resources/avr-gcc-4.9.2-compiled.tar.bz2 && + tar xjf avr-gcc*.tar.bz2 -C /tmp/ && + sudo cp -f -r /tmp/avr-gcc/* /usr/local/ && + rm -rf /tmp/avr-gcc avr-gcc*.tar.bz2 && + avr-gcc --version ## Install 32-bit compatibility libraries - sudo apt-get -qq install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 @@ -140,3 +144,4 @@ env: - BUILD_TYPE='compile-nxp-ports' BUILD_CATEGORY='compile' BUILD_ARCH='jn516x' - BUILD_TYPE='slip-radio' MAKE_TARGETS='cooja' - BUILD_TYPE='llsec' MAKE_TARGETS='cooja' + - BUILD_TYPE='compile-avr' BUILD_CATEGORY='compile' BUILD_ARCH='avr-rss2' diff --git a/regression-tests/23-compile-avr/Makefile b/regression-tests/23-compile-avr/Makefile new file mode 100644 index 000000000..0904e2f37 --- /dev/null +++ b/regression-tests/23-compile-avr/Makefile @@ -0,0 +1,15 @@ +EXAMPLESDIR=../.. +TOOLSDIR=../../tools + +# build avr-rss2 examples, covering IPv6, RPL, Rime, Nullrdc, Contikimac + +EXAMPLES = \ +platform/avr-rss2/examples/hello-sensors/avr-rss2 \ +platform/avr-rss2/examples/ipv6/rpl-udp-report/avr-rss2 \ +platform/avr-rss2/examples/ipv6/rpl-border-router/avr-rss2 \ +examples/ipv6/rpl-udp/avr-rss2 \ +examples/powertrace/avr-rss2 \ +examples/rime/avr-rss2 +TOOLS= + +include ../Makefile.compile-test