message: Adjust travis for new compilers.
diff: language: cpp
  -
  sudo: false
  -os:
  - - linux
  +before_script:
  + - eval "${MATRIX_EVAL}"
  + - echo ${CXX}
  + - ${CXX} --version
  + - echo "CC=$CXX" > make/local
  +
  +linux_clang: &linux_clang
  + os: linux
  + compiler: "clang-3.8"
  + addons:
  + apt:
  + sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.8' ]
  + packages: [ 'clang-3.8', 'libc++-dev' ]
  -compiler:
  - - clang
  - - gcc
  +linux_gcc: &linux_gcc
  + os: linux
  + compiler: "gcc-4.9"
  + addons:
  + apt:
  + sources: [ 'ubuntu-toolchain-r-test' ]
  + packages: [ 'g++-4.9' ]
  before_install:
  - git submodule update --init --recursive
  -before_script:
  - - echo "CC=$CXX" > make/local
  -
  matrix:
  fast_finish: true
  + include:
  + - <<: *linux_clang
  + env:
  + - MATRIX_EVAL="CXX=clang++-3.8"
  + - <<: *linux_gcc
  + env:
  + - MATRIX_EVAL="CXX=g++-4.9"
  script:
  - git submodule foreach 'echo $path `git rev-parse HEAD`'
  - - ./runCmdStanTests.py src/test/interface
  + - ./runCmdStanTests.py -j2 src/test/interface
  