language: c
script: make && make check
sudo: required
dist: trusty
compiler:
 - clang
 - gcc
before_install:
 - sudo apt-get -qq update
 - sudo apt-get install -y libyajl-dev libyaml-dev

language: c

script: make && make check

sudo: required
dist: trusty

compiler:
 - clang
 - gcc

addons:
  apt:
    packages:
    - libyajl-dev
    - libyaml-dev

Use apt addon for Travis
Use apt addon for Travis
