language: c

compiler:
    - clang
    - gcc

env:
    - BUILD_TYPE=Debug
    - BUILD_TYPE=Release

matrix:
    exclude:
        - compiler: clang
          env: BUILD_TYPE=Release

before_script:
    - sudo apt-get install cmake libglib2.0-dev
    - mkdir build
    - cd build
    - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE

script:
    - make
    - ./test/test-mock

language: c

compiler:
    - clang
    - gcc

env:
    - BUILD_TYPE=Debug
    - BUILD_TYPE=Release

matrix:
    exclude:
        - compiler: clang
          env: BUILD_TYPE=Release

before_script:
    - sudo apt-get install cmake libglib2.0-dev
    - mkdir build
    - cd build
    - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE

script:
    - make
    - ./test/test-mock
    - ./test/test-ring-buffer

Test the ring buffer on Travis
Test the ring buffer on Travis
