Commit graph

37 commits

Author SHA1 Message Date
Jim Paris b5f37e856c Rename travis "arm" BUILD_ARCH to "arm-apcs".
These platforms are built with an old ARM compiler that supports the
deprecated APCS standard.
2014-07-08 01:48:28 -04:00
Jim Paris 6d7464a422 Add retries to commands that download from external servers.
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.
2014-07-08 01:48:28 -04:00
Jim Paris 4242182588 Clean up script commands in .travis.yml.
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".
2014-07-05 23:44:46 -04:00
George Oikonomou 9df2572c5d Download the RL 78 toolchain from a different URL
Fixes #720
2014-06-12 09:10:26 +01:00
George Oikonomou 7c6b95b5ab Improve travis RL78 tests
* No longer apt-get install a bunch of packages which are not really needed
* Only install gnurl78 if its download succeeded
2014-06-01 20:50:47 +01:00
George Oikonomou 78e13a936a Fix Travis failure
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
2014-04-26 14:06:53 +01:00
Oliver Schmidt 370650baa3 Updated cc65 URL. 2014-03-15 16:55:39 +01:00
Ian Martin 174d4dd80c Adds support for ADF7023 sub-GHz radio from Analog Devices and RL78 series MCU from Renesas.
This example platform for this port is the EVAL-ADF7XXXMB4Z w/ radio
daughter cards:

    http://www.analog.com/en/evaluation/eval-adf7023/eb.html

See the platform readme for usage and platform information:

    https://github.com/contiki-os/contiki/tree/master/platform/eval-adf7xxxmb4z/readme.md

All files provided by Analog Devices for this port are released under
the same license as Contiki and copyright Analog Devices Inc. per
agreement between Redwire Consulting, LLC and Analog Devices Inc. (SOW 08122013)
2014-01-04 18:56:51 -05:00
Sébastien Dawans d772baa37d Travis test for slip-radio 2013-12-09 21:06:37 +01:00
Adam Dunkels 6265219775 Merge pull request #453 from adamdunkels/push/travis-fix
Fix broken travis
2013-11-22 02:36:09 -08:00
Adam Dunkels df7c4131b5 After travis updated to jdk 1.7.0_45 we have to run java -Xshare:dump before running the Cooja tests 2013-11-22 11:07:26 +01:00
Oliver Schmidt 1f8fbbd161 Reduce travis overhead for testing 6502 ports.
- 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
2013-11-20 21:17:43 +01:00
George Oikonomou 820e50f3ed Add 6502 tests to travis 2013-11-20 13:31:32 +00:00
George Oikonomou 90e27e4839 Disable the IPv4 travis job 2013-08-30 10:39:59 +01:00
George Oikonomou 4cb72c1f11 Don't try to tail *.testlog after non-sim tests
Fixes #247
2013-08-07 15:00:18 +01:00
George Oikonomou 3446cee85b Break travis compile tests into smaller builds
* 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
2013-08-07 15:00:13 +01:00
Adam Dunkels 30497b0791 Switch to mspgcc 4.7.0 2013-08-06 21:28:00 +02:00
George Oikonomou 9e553c3d72 Update travis to use a newer SDCC
Due to SDCC bug #1986, we were previously stuck
with SDCC revision #7100. The bug was fixed with
rev #8719. Thus, we can now use newer versions

More info: http://sourceforge.net/p/sdcc/bugs/1986/
2013-08-06 18:28:16 +01:00
Ilya Dmitrichenko 2ce2354c84 [ci] Remove pointless $MAKE_TARGETS -
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`.
2013-06-21 18:10:54 +01:00
Mariano Alvira 68acf28b04 Travis: disable the netperf test because it is flaky 2013-05-19 09:59:02 -04:00
Mariano Alvira fd6cc5f696 Travis: fix the download location for the arm/mc1322x toolchain 2013-05-18 18:12:32 -04:00
Mariano Alvira 3ea8cce948 Travis: Print out logs so that debugging travis is possible. 2013-05-18 18:11:45 -04:00
Adam Dunkels 49bf7626f1 Split the collect test into collect and collect-lossy to make each individual
travis build complete faster.

Also changed the armgcc download link to a github location.
2013-03-18 09:07:33 +01:00
Ilya Dmitrichenko 9b6e748338 [ci] Travis needs 32-bit compatibility libraries 2013-03-16 15:28:26 +00:00
Adam Dunkels 76136a3ed3 Removed email notifications
Added a notifications: clause to turn off email notifications, which are otherwise enabled by default.
2013-01-10 08:16:20 +01:00
Adam Dunkels ddb3c62524 Explicitly count the number of failed tests, test equality with 0, and explicitly exit with a non-zero error status if there are non-zero failed tests 2012-12-17 12:37:41 +01:00
George Oikonomou 02b90c9c63 Added rtests for 8051 ports 2012-12-16 22:21:44 +00:00
Adam Dunkels e4aee4abbb travis integration of the Thingsquare Mist regression test framework 2012-12-10 01:50:23 +01:00
Adam Dunkels 4d811b41cc Structured the Contiki tests according to what they are supposed to test and broke them out as multiple parallel jobs. 2012-11-22 08:12:39 +01:00
Mariano Alvira a1c2e471a8 have travis build TARGET=econotag instead of TARGET=redbee-econotag 2012-11-20 12:36:55 -05:00
Ilya Dmitrichenko 287da35a33 [ci] Fix failure detection when not all tests failed 2012-11-13 23:25:47 +00:00
Ilya Dmitrichenko 07e2b10d23 [ci] Build some examples for avr-raven and micaz 2012-11-13 13:39:36 +00:00
Ilya Dmitrichenko 79fed23753 [ci] Add avr toolchain for all build types 2012-11-13 12:52:48 +00:00
Ilya Dmitrichenko b61f1e03db [ci] Add Cooja tests 2012-11-13 01:43:06 +00:00
Ilya Dmitrichenko cac92f5f19 [ci] Build some examples for sky 2012-11-12 22:26:44 +00:00
Ilya Dmitrichenko 0c0267ca01 [ci] Install mc1233x toolchain and build some examples for redbee-econotag 2012-11-12 22:26:38 +00:00
Ilya Dmitrichenko d299c8217c [ci] Add framework for Travis integration 2012-11-12 22:26:17 +00:00