2016-05-31 08:33:30 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2016-05-26 19:10:37 +00:00
|
|
|
|
2016-05-31 08:33:30 +00:00
|
|
|
language: cpp
|
2016-05-26 19:10:37 +00:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
2016-05-31 08:33:30 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-add-repository -y "ppa:george-edison55/george-edison"
|
|
|
|
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
|
|
|
|
- echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main"|sudo tee -a /etc/apt/sources.list
|
|
|
|
- sudo sed -i "s/trusty/wily/g" /etc/apt/sources.list
|
|
|
|
- sudo apt-get -qq update
|
|
|
|
- sudo apt-get install -y clang-3.8 cmake cmake-data libxrandr-dev libboost-dev libiw-dev libasound2-dev libmpdclient-dev
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
|
|
|
|
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8" CC="clang-3.8" CFLAGS="-Qunused-arguments"; fi
|
|
|
|
- cmake --version
|
|
|
|
- eval "${CXX} --version"
|
2016-05-31 08:37:32 +00:00
|
|
|
- eval "${CC} --version"
|
2016-05-26 19:10:37 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2016-05-31 08:33:30 +00:00
|
|
|
- cmake -DCMAKE_C_COMPILER="${CC}" -DCMAKE_CXX_COMPILER="${CXX}" -DCMAKE_CXX_FLAGS="${CFLAGS}" ..
|
|
|
|
|
|
|
|
script: make
|
|
|
|
|
2016-05-31 11:09:42 +00:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
2016-05-31 12:53:37 +00:00
|
|
|
- "irc.freenode.net#lemonbuddy"
|
|
|
|
template:
|
|
|
|
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
|
2016-05-31 11:09:42 +00:00
|
|
|
use_notice: true
|
|
|
|
skip_join: true
|