dist      : xenial
sudo      : required
language  : c

matrix:
  include:
    - compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - gcc-5
      env: COMPILER=gcc-5

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq nasm

script:
  - mkdir build
  - cd build
  - cmake -DCMAKE_C_COMPILER=$COMPILER .. && make
