sudo: false
language: cpp

matrix:
  allow_failures:
    - env: _CXX=clang++-3.8 _CC=clang-3.8
  include:
    - env: _CXX=g++-5 _CC=gcc-5
      addons:
        apt:
          packages:
            - g++-5
          sources: &sources
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise
            - llvm-toolchain-precise-3.7
    - env: _CXX=clang++-3.7 _CC=clang-3.7
      addons:
        apt:
          packages:
            - clang-3.7
          sources: *sources
    - env: _CXX=clang++-3.8 _CC=clang-3.8
      addons:
        apt:
          packages:
            - clang-3.8
          sources: *sources

install:
  - export PATH="$HOME/bin:$PATH"
  - export CXX="$_CXX" CC="$_CC"
  -
  - mkdir ~/bin
  - wget --no-check-certificate --no-clobber -O /tmp/tools/waf https://waf.io/waf-1.8.14 || true
  - install -t ~/bin /tmp/tools/waf

script:
  - waf configure
  - waf --build-test
  - build/tester

cache:
  apt: true
  directories:
    - /tmp/tools

sudo: false
language: cpp

matrix:
  include:
    - env: _CXX=g++-5 _CC=gcc-5
      addons:
        apt:
          packages:
            - g++-5
          sources: &sources
            - llvm-toolchain-precise
            - ubuntu-toolchain-r-test
    - env: _CXX=clang++-3.8 _CC=clang-3.8
      addons:
        apt:
          packages:
            - clang-3.8
          sources: *sources

install:
  - export PATH="$HOME/bin:$PATH"
  - export CXX="$_CXX" CC="$_CC"
  -
  - mkdir ~/bin
  - wget --no-check-certificate --no-clobber -O /tmp/tools/waf https://waf.io/waf-1.8.14 || true
  - install -t ~/bin /tmp/tools/waf

script:
  - waf configure
  - waf --build-test
  - build/tester

cache:
  apt: true
  directories:
    - /tmp/tools

Revert "Actually clang-3.8 fails :( Allow it to and build with clang-3.7"
Revert "Actually clang-3.8 fails :( Allow it to and build with clang-3.7"

This reverts commit 57e0ee5d4bf56c4f483f3322fb9f2fa5d62ec6e6.
