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

34 lines
667 B
YAML
Raw Normal View History

2016-05-26 17:22:45 -04:00
sudo: false
2016-05-26 15:10:37 -04:00
language: cpp
addons:
apt:
sources:
2016-05-26 17:22:45 -04:00
- llvm-toolchain-precise-3.8
2016-05-26 15:10:37 -04:00
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
2016-05-26 15:10:37 -04:00
packages:
2016-05-26 17:22:45 -04:00
- clang-3.8
2016-05-26 15:10:37 -04:00
- g++-5
- gcc-5
- cmake
- cmake-data
2016-05-26 15:10:37 -04:00
- libxrandr-dev
- libboost-dev
- libiw-dev
- libasound2-dev
- libmpdclient-dev
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
2016-05-26 17:22:45 -04:00
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8" CC="clang-3.8"; fi
2016-05-26 15:10:37 -04:00
compiler:
- clang
- gcc
script:
- mkdir build
- cd build
- cmake -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" .. && make