From efe3f4dabc371b2598d75829bb7fa55f1943aed1 Mon Sep 17 00:00:00 2001 From: Jim Paris Date: Sat, 5 Jul 2014 21:48:56 -0400 Subject: [PATCH] Add modern ARM compiler and ev-aducrf101mkxz to travis tests --- .travis.yml | 12 +++++++++++- regression-tests/18-compile-arm-ports/Makefile | 13 +++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 regression-tests/18-compile-arm-ports/Makefile diff --git a/.travis.yml b/.travis.yml index f50de9382..2ebcdf4b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,15 @@ before_script: arm-none-eabi-gcc --version ; fi + ## Install mainline ARM toolchain. gcc-arm-none-eabi is available + ## in Ubuntu >= 14.04, but this external PPA is needed for 12.04. + - if [ ${BUILD_ARCH:-0} = arm ] ; then + sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded && + sudo apt-get -qq update && + sudo apt-get -qq install gcc-arm-none-eabi && + arm-none-eabi-gcc --version ; + fi + ## Install RL78 GCC toolchain - sudo apt-get install libncurses5:i386 zlib1g:i386 - $WGET http://adamdunkels.github.io/contiki-fork/gnurl78-v13.02-elf_1-2_i386.deb && @@ -67,7 +76,7 @@ script: after_script: ## Print cooja test logs - "[ ${BUILD_CATEGORY:-sim} = sim ] && tail regression-tests/??-$BUILD_TYPE/*.testlog" - ## Print a basic summary + ## Print a basic summary - "echo 'Summary:'; cat regression-tests/??-$BUILD_TYPE/summary" - "FAILS=`grep -c -i 'fail' regression-tests/??-$BUILD_TYPE/summary`" ## This will detect whether the build should pass or fail @@ -95,4 +104,5 @@ env: - BUILD_TYPE='compile-8051-ports' BUILD_CATEGORY='compile' BUILD_ARCH='8051' - BUILD_TYPE='compile-arm-apcs-ports' BUILD_CATEGORY='compile' BUILD_ARCH='arm-apcs' - BUILD_TYPE='compile-6502-ports' BUILD_CATEGORY='compile' BUILD_ARCH='6502' + - BUILD_TYPE='compile-arm-ports' BUILD_CATEGORY='compile' BUILD_ARCH='arm' - BUILD_TYPE='slip-radio' MAKE_TARGETS='cooja' diff --git a/regression-tests/18-compile-arm-ports/Makefile b/regression-tests/18-compile-arm-ports/Makefile new file mode 100644 index 000000000..2de35da6d --- /dev/null +++ b/regression-tests/18-compile-arm-ports/Makefile @@ -0,0 +1,13 @@ +EXAMPLESDIR=../../examples +TOOLSDIR=../../tools + +EXAMPLES = \ +hello-world/ev-aducrf101mkxz \ +ipv6/rpl-border-router/ev-aducrf101mkxz \ +webserver-ipv6/ev-aducrf101mkxz \ +ipv6/multicast/ev-aducrf101mkxz \ +cc2538dk/sniffer/ev-aducrf101mkxz \ + +TOOLS= + +include ../Makefile.compile-test