1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-18 13:55:11 -05:00
polybar/.travis.yml

45 lines
1.4 KiB
YAML
Raw Normal View History

2016-05-31 04:33:30 -04:00
sudo: required
dist: trusty
2016-05-26 15:10:37 -04:00
2016-05-31 04:33:30 -04:00
language: cpp
2016-05-26 15:10:37 -04:00
compiler:
- clang
- gcc
2016-05-31 10:36:20 -04:00
cache: ccache
2016-05-26 15:10:37 -04:00
2016-06-11 06:10:43 -04:00
env:
global:
- LLVM_VERSION=3.8.0
- LLVM_ARCHIVE_PATH=$HOME/clang+llvm.tar.xz
2016-05-31 04:33:30 -04:00
before_install:
2016-06-11 06:10:43 -04: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
2016-05-31 04:33:30 -04: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 13:59:20 -04: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 04:33:30 -04:00
before_script:
- if [ "$CXX" = "clang++" ]; then export CPPFLAGS="-I $HOME/clang-$LLVM_VERSION/include/c++/v1" CXXFLAGS="-Qunused-arguments"; fi
2016-05-31 04:33:30 -04:00
- cmake --version
2016-06-11 06:10:43 -04:00
- eval "$CXX --version"
- eval "$CC --version"
2016-05-26 15:10:37 -04:00
- mkdir build
- cd build
2016-06-11 06:10:43 -04:00
- cmake -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_CXX_FLAGS="$CXXFLAGS" ..
2016-05-31 04:33:30 -04:00
script: make
2016-05-31 07:09:42 -04:00
notifications:
irc:
channels:
2016-05-31 08:53:37 -04:00
- "irc.freenode.net#lemonbuddy"
template:
2016-05-31 10:53:03 -04:00
- "%{author} pushed #%{commit} \"%{commit_subject}\" -> %{repository_name}/%{branch}"
- "Build #%{build_number}: %{result} // Compare at %{compare_url}"
2016-05-31 07:09:42 -04:00
use_notice: true
skip_join: true