2016-05-26 19:10:37 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-05-26 19:28:58 +00:00
|
|
|
- llvm-toolchain-precise-3.7
|
2016-05-26 19:10:37 +00:00
|
|
|
- ubuntu-toolchain-r-test
|
2016-05-26 19:28:58 +00:00
|
|
|
- george-edison55-precise-backports
|
2016-05-26 19:10:37 +00:00
|
|
|
packages:
|
|
|
|
- clang-3.7
|
|
|
|
- g++-5
|
|
|
|
- gcc-5
|
|
|
|
- cmake
|
2016-05-26 19:28:58 +00:00
|
|
|
- cmake-data
|
2016-05-26 19:10:37 +00:00
|
|
|
- libx11-dev
|
|
|
|
- libxrandr-dev
|
|
|
|
- libboost-dev
|
|
|
|
- libiw-dev
|
|
|
|
- libasound2-dev
|
|
|
|
- libmpdclient-dev
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2016-05-26 19:28:58 +00:00
|
|
|
- cmake -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" .. && make
|