sudo: true

language: cpp

os:
  - linux
  - osx

compiler:
  - gcc
  - clang
  
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.6" CC="clang-3.6"; fi

before_script:
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sh build_scripts/linux_setup.sh; fi
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then sh build_scripts/osx_setup.sh; fi 

script:
  - mkdir build
  - cd build
  - cmake ../
  - make
  - make test
  
notifications:
  email:
    recipients: adastley@gmail.com
    on_success: change
    on_failure: change

sudo: true

language: cpp

os:
  - linux
  - osx

compiler:
  - gcc
  - clang
  
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi

before_script:
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sh build_scripts/linux_setup.sh; fi
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then sh build_scripts/osx_setup.sh; fi 

script:
  - mkdir build
  - cd build
  - cmake ../
  - make
  - make test
  
notifications:
  email:
    recipients: adastley@gmail.com
    on_success: change
    on_failure: change

Correct the version of clang
CI: Correct the version of clang
