language: cpp
compiler:
  - clang
  - gcc
os:
  - osx
script:
  - make && make test

matrix:
  include:
    - compiler: gcc
      os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-4.9
            - libboost-system-dev
            - libboost-filesystem-dev
      env: COMPILER=g++-4.9
    - compiler: gcc
      os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-5
            - libboost-system-dev
            - libboost-filesystem-dev
      env: COMPILER=g++-5
    - compiler: clang
      os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.6
          packages:
            - clang-3.6
            - libboost-system-dev
            - libboost-filesystem-dev
      env: COMPILER=clang++-3.6
    - compiler: clang
      os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.7
          packages:
            - clang-3.7
            - libboost-system-dev
            - libboost-filesystem-dev
      env: COMPILER=clang++-3.7

language: cpp
compiler:
  - clang
  - gcc
os:
  - osx
script:
  - make && make test
sudo: required
dist: trusty

matrix:
  include:
    - compiler: gcc
      os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-4.9
            - libboost-system-dev
            - libboost-filesystem-dev
      env: COMPILER=g++-4.9
    - compiler: gcc
      os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-5
            - libboost-system-dev
            - libboost-filesystem-dev
      env: COMPILER=g++-5
    - compiler: clang
      os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.6
          packages:
            - clang-3.6
            - libboost-system-dev
            - libboost-filesystem-dev
      env: COMPILER=clang++-3.6
    - compiler: clang
      os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.7
          packages:
            - clang-3.7
            - libboost-system-dev
            - libboost-filesystem-dev
      env: COMPILER=clang++-3.7

Switch linux to 14.04+ to maybe get a boost filesystem that the compiler understands?
Switch linux to 14.04+ to maybe get a boost filesystem that the compiler understands?
