language: c

dist: trusty
sudo: required

addons:
  apt:
    packages:
      - cmake
      - cmake-data


before_install:
   - curl -sS "https://www.mulle-kybernetik.com/dists/debian-admin-pub.asc" | sudo apt-key add -
   - echo "deb [arch=all] http://www.mulle-kybernetik.com `lsb_release -c -s` main" | sudo tee "/etc/apt/sources.list.d/mulle-kybernetik.com-main.list" > /dev/null
   - sudo apt-get update
   - sudo apt-get -y install mulle-sde mulle-test

script: |
   mulle-sde -vvv craft
   [ -d test ] && mulle-test -vvv