mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
feat(ci): Added Travis config
This commit is contained in:
parent
886e5f188e
commit
26a952d7e0
1 changed files with 31 additions and 0 deletions
31
.travis.yml
Normal file
31
.travis.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
language: cpp
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- llvm-toolchain-precise
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- clang-3.7
|
||||||
|
- g++-5
|
||||||
|
- gcc-5
|
||||||
|
- cmake
|
||||||
|
- 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
|
||||||
|
- cmake .. && make
|
Loading…
Reference in a new issue