language: c

matrix:
  include:
    - os: linux
      sudo: required
      dist: trusty
      env: OS_CODENAME="Trusty Tahr"
    - os: linux
      sudo: false
      env: OS_CODENAME="Precise Pangoblin"
git:
  submodules: true
  # TODO: When this repo has many commits, this might speed things up:
  # depth: 3
script:
  - make check-gcc
  - make check-clang

language: c

matrix:
  include:
    - os: linux
      sudo: required
      dist: trusty
      env: OS_CODENAME="Trusty Tahr"
    - os: linux
      sudo: false
      env: OS_CODENAME="Precise Pangoblin"
    - os: osx
      env: OS_CODENAME="OS X 10"
git:
  submodules: true
  depth: 3
script:
  - make check-gcc
  - make check-clang

Enable Travis CI for OS X
Enable Travis CI for OS X
