[ci] Install mc1233x toolchain and build some examples for redbee-econotag

This commit is contained in:
Ilya Dmitrichenko 2012-11-12 22:26:38 +00:00
parent d299c8217c
commit 0c0267ca01
2 changed files with 16 additions and 1 deletions

View file

@ -16,6 +16,17 @@ EXAMPLES_ALL = hello-world
EXAMPLES_native = ipv6/native-border-router
EXAMPLES_most_non_native = \
er-rest-example \
ipv6/rpl-border-router \
ipv6/rpl-collect \
ipv6/rpl-udp \
ipv6/simple-udp-rpl \
ipv6/slip-radio \
webserver-ipv6
EXAMPLES_redbee_econotag = $(EXAMPLES_most_non_native)
CT := \033[0;0m
ifdef BOXED_SIGNS

View file

@ -2,6 +2,10 @@ language: c #NOTE: this will set CC=gcc which might cause trouble
before_script:
## Install mainline msp430 toolchain for all build types
- "sudo apt-get -qq update && sudo apt-get -qq install gcc-msp430 || true"
## Install toolchain for mc1233x in care-free way
- "[ $BUILD_TYPE = multi ] && 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"
script:
## The makefile called `.travis.mk` handles most of generic logic
@ -17,4 +21,4 @@ after_script:
env:
## This magically kick-off parallel jobs for each of the for the sets
## of environment variable defined below
- BUILD_TYPE='multi' MAKE_TARGETS='native minimal-net'
- BUILD_TYPE='multi' MAKE_TARGETS='native minimal-net redbee-econotag'