language: cpp

compiler:
  - gcc
  - clang

os:
  - linux
  - osx

env:
  global:
    - secure: "KXfgO6PGxlEcNJHLxMPxZvUtxkCX8V/ZD5plXYxCPaKamTWJknuAvFJAPukhIDTX+1AcUxEBvG/QLszEIiPemPRbDmj4knG5y5GINLx/Jjl3ePKXzYdfc6G/G/QnH3YEQ/GBp6Gvf6w2d+IB3dgEyn9td8VaOt0XmNvW4l76nm4="

git:
  submodules: false

sudo: false

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
      - fonts-inconsolata
      - fonts-takao-gothic
      - fonts-takao-mincho
      - fonts-takao-pgothic
  coverity_scan:
    project:
      name: "khaledhosny/ots"
      description: "Build submitted via Travis CI"
    notification_email: khaledhosny@eglug.org
    build_command_prepend: "./configure; make clean"
    build_command: "make -j 4"
    branch_pattern: coverity

install:
  - test "$CXX" = "g++" && export CXX="g++-4.8" CC="gcc-4.8" || true
  - ./autogen.sh

script: ./configure && make check

language: cpp

compiler:
  - gcc
  - clang

os:
  - linux
  - osx

matrix:
  allow_failures:
    - os: osx
      compiler: gcc

env:
  global:
    - secure: "KXfgO6PGxlEcNJHLxMPxZvUtxkCX8V/ZD5plXYxCPaKamTWJknuAvFJAPukhIDTX+1AcUxEBvG/QLszEIiPemPRbDmj4knG5y5GINLx/Jjl3ePKXzYdfc6G/G/QnH3YEQ/GBp6Gvf6w2d+IB3dgEyn9td8VaOt0XmNvW4l76nm4="

git:
  submodules: false

sudo: false

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
      - fonts-inconsolata
      - fonts-takao-gothic
      - fonts-takao-mincho
      - fonts-takao-pgothic
  coverity_scan:
    project:
      name: "khaledhosny/ots"
      description: "Build submitted via Travis CI"
    notification_email: khaledhosny@eglug.org
    build_command_prepend: "./configure; make clean"
    build_command: "make -j 4"
    branch_pattern: coverity

install:
  - test "$CXX" = "g++" && export CXX="g++-4.8" CC="gcc-4.8" || true
  - ./autogen.sh

script: ./configure && make check

Allow GCC failure in OS X
[trvis] Allow GCC failure in OS X
