This helps reduce the chance of a build failure due to transient
download error. This also switches to consistent use of wget
throughout, which reports download errors more cleanly in the travis
build logs.
Besides general whitespace and quoting cleanup, commands that test
variables were changed from:
[ $B = a ] && command || true
to
if [ $B = a ] ; then command ; fi
This form correctly returns the exit code of "command".
For travis tests, we host pre-built bundles of the arm-gcc and sdcc
toolchains on github, and we download them with curl
Apparently, the URL for those bundles has been changed and the
HTTP response is a 301 redirect. curl doesn't follow it
We change .travis.yml to pull the bundles form the new location
- build cc65 libraries only for target supported by Contiki
- instead of building all examples for all 6502 targets build
- all examples for one target (c64)
- the most demanding client example (webbrowser) for all 6502 targets
- the most demanding server examples (webserver) for all 6502 targets
* The previous 01-compile test has been renamed to compile-base. It
now only tests {msp430, avr, native}-based platforms
* New test builds for arm-based and 8051-based ports (one build per arch)
* Only install arm-none-eabi, sdcc and srecord for the builds which need
them. This will somewhat speed up all other tests
* Test er-rest-example and webserver-ipv6 for the cc2538
* An erroneous comment was fixed and another comment was somewhat
clarified
1. there was an odd error when this environment variable wasn't set
(`[: =: unary operator expected`)
2. this environment variable is not used anywhere else
Removing it makes the logic look much simpler - do make `cooja.jar`
if build type is any other then `compile`.