language: c++
compiler:
  - gcc
  - clang
script:
  - cmake -G "Unix Makefiles" -H. -Bbuild
  - cmake --build build --target xchange --config Release

language: c++
compiler:
  - gcc
  - clang

before_install:
     - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
     - sudo apt-get update -qq
     - if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-4.8-dev; fi
     - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
     - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
script:
  - cmake -G "Unix Makefiles" -H. -Bbuild
  - cmake --build build --target xchange --config Release

Update compiler before run build script.
Update compiler before run build script.
