polybar-dwm/.travis.yml

46 lines
1.5 KiB
YAML
Raw Normal View History

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 14:36:20 +00:00
cache: ccache
2016-05-26 19:10:37 +00:00
2016-06-11 10:10:43 +00:00
env:
global:
- LLVM_VERSION=3.8.0
- LLVM_ARCHIVE_PATH=$HOME/clang+llvm.tar.xz
2016-05-31 08:33:30 +00:00
before_install:
2016-06-11 10:10:43 +00:00
- wget http://llvm.org/releases/$LLVM_VERSION/clang+llvm-$LLVM_VERSION-x86_64-linux-gnu-ubuntu-14.04.tar.xz -O $LLVM_ARCHIVE_PATH
- mkdir $HOME/clang-$LLVM_VERSION
- tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1
- export PATH=$HOME/clang-$LLVM_VERSION/bin:$PATH
- export PYTHONPATH="/usr/lib/python2.7/dist-packages:$PYTHONPATH"
2016-05-31 08:33:30 +00:00
- sudo apt-add-repository -y "ppa:george-edison55/george-edison"
- sudo sed -i "s/trusty/wily/g" /etc/apt/sources.list
- sudo apt-get -qq update
2016-06-27 17:59:20 +00:00
- sudo apt-get install -y cmake cmake-data libxcb1-dev python-xcbgen xcb-proto libboost-dev libiw-dev libasound2-dev libmpdclient-dev
2016-05-31 08:33:30 +00:00
before_script:
- if [ "$CXX" = "clang++" ]; then export CPPFLAGS="-I $HOME/clang-$LLVM_VERSION/include/c++/v1" CXXFLAGS="-Qunused-arguments"; fi
2016-05-31 08:33:30 +00:00
- cmake --version
2016-06-11 10:10:43 +00:00
- eval "$CXX --version"
- eval "$CC --version"
2016-05-26 19:10:37 +00:00
- mkdir build
- cd build
2016-06-11 10:10:43 +00:00
- cmake -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_CXX_FLAGS="$CXXFLAGS" ..
2016-05-31 08:33:30 +00:00
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:
2016-05-31 14:53:03 +00:00
- "%{author} pushed #%{commit} \"%{commit_subject}\" -> %{repository_name}/%{branch}"
- "Build #%{build_number}: %{result} // Compare at %{compare_url}"
2016-05-31 11:09:42 +00:00
use_notice: true
skip_join: true