diff --git a/.travis.yml b/.travis.yml index 8e80e7bd4..f24c9a1e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,16 @@ before_script: ## Install these mainline toolchains for all build types - "sudo apt-get -qq install gcc-msp430 || true" - "sudo apt-get -qq install gcc-avr avr-libc || true" + - "sudo apt-get -qq install srecord || true" ## Install toolchain for mc1233x in care-free way - "[ $BUILD_TYPE = compile ] && curl -s \ https://sourcery.mentor.com/public/gnu_toolchain/arm-none-eabi/arm-2008q3-66-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 \ | tar xjf - -C /tmp/ && sudo cp -f -r /tmp/arm-2008q3/* /usr/ && rm -rf /tmp/arm-2008q3 && arm-none-eabi-gcc --version || true" + ## Install SDCC from a purpose-built bundle + - "[ $BUILD_TYPE = compile ] && curl -s \ + https://raw.github.com/wiki/g-oikonomou/contiki-sensinode/files/sdcc-r7100.tar.gz \ + | tar xzf - -C /tmp/ && sudo cp -f -r /tmp/sdcc-r7100/* /usr/local/ && rm -rf /tmp/sdcc-r7100 && sdcc --version || true" + ## Compile cooja.jar only when it's going to be needed - "[ $MAKE_TARGETS = cooja ] && java -version && ant -q -f tools/cooja/build.xml jar || true" diff --git a/regression-tests/01-compile/Makefile b/regression-tests/01-compile/Makefile index 2a6bceb2d..67047b68c 100644 --- a/regression-tests/01-compile/Makefile +++ b/regression-tests/01-compile/Makefile @@ -13,6 +13,8 @@ hello-world/native \ hello-world/sky \ hello-world/wismote \ hello-world/z1 \ +hello-world/sensinode \ +hello-world/cc2530dk \ ipv6/rpl-border-router/econotag \ collect/sky \ er-rest-example/sky \ @@ -34,7 +36,15 @@ webserver/minimal-net \ webserver-ipv6/sky \ webserver-ipv6/econotag \ wget/minimal-net \ -z1/z1 +z1/z1 \ +sensinode/sensinode \ +sensinode/border-router/sensinode \ +sensinode/udp-ipv6/sensinode \ +sensinode/sniffer/sensinode \ +cc2530dk/cc2530dk \ +cc2530dk/border-router/cc2530dk \ +cc2530dk/udp-ipv6/cc2530dk \ +cc2530dk/sniffer/cc2530dk TOOLS=