language: c
compiler:
  - clang
  - gcc
before_install:
  - "git submodule update --init --recursive"
  - "sudo apt-get -qq update"
  - "sudo apt-get -qq install doxygen"
  - "if [ ! $CC = 'clang' ]; then sudo apt-get -qq install gcc-msp430 msp430-libc msp430mcu; fi"
  - "if [ ! $CC = 'clang' ]; then sudo apt-get -qq install gcc-avr avr-libc; fi"
script:
  - "make all"
  - "src/bin/libxively_unit_test_suite"
  - "if [ ! $CC = 'clang' ]; then make ci_msp430; fi"
  - "if [ ! $CC = 'clang' ]; then make ci_avr; fi"

language: c
compiler:
  - clang
  - gcc
before_install:
  - "git submodule update --init --recursive"
  - "sudo apt-get -qq update"
  - "sudo apt-get -qq install doxygen"
  - "if [ ! $CC = 'clang' ]; then sudo apt-get -qq install gcc-msp430 msp430-libc msp430mcu; fi"
  - "if [ ! $CC = 'clang' ]; then sudo apt-get -qq install gcc-avr avr-libc; fi"
script:
  - "make -C src libxively"
  - "make -C src tests XI_UNIT_TEST_TARGET=native TINYTEST_SRCDIR=`readlink -e src/ext/tinytest`"
  - "if [ ! $CC = 'clang' ]; then make ci_msp430; fi"
  - "if [ ! $CC = 'clang' ]; then make ci_avr; fi"

Update Travis script to use new system
[ci] Update Travis script to use new system
