# Copyright (C) 2017 Sebastian Pipping <sebastian@pipping.org>
# Licensed under the MIT license

language: cpp
dist: trusty

# Unbreak clang address sanitizer, needs SYS_PTRACE
# https://github.com/google/sanitizers/issues/764#issuecomment-276663297
# https://github.com/travis-ci/travis-ci/issues/9033
sudo: required

env:
  global:
    - CFLAGS='-g -pipe'
  matrix:
    - MODE=address
    - MODE=cmake
    - MODE=cmake-oos
    - MODE=distcheck
    - MODE=lib-coverage

addons:
  apt:
    packages:
      - cmake
      - docbook2x
      - dos2unix
      - rpm

script:
  - ./.travis.sh
