2016-05-31 04:33:30 -04:00
|
|
|
sudo: required
|
2016-10-12 05:49:17 -04:00
|
|
|
dist: trusty
|
2016-10-11 10:20:19 -04:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
2016-10-29 00:58:04 -04:00
|
|
|
- gcc
|
2016-05-26 15:10:37 -04:00
|
|
|
|
2016-06-14 23:32:35 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.8
|
2016-12-15 13:16:31 -05:00
|
|
|
- sourceline: "ppa:george-edison55/george-edison"
|
2016-06-14 23:32:35 -04:00
|
|
|
packages:
|
|
|
|
- clang-3.8
|
2016-12-15 13:16:31 -05:00
|
|
|
- cmake
|
|
|
|
- cmake-data
|
2017-01-24 02:49:27 -05:00
|
|
|
- g++-5
|
|
|
|
- gcc-5
|
2016-12-15 13:16:31 -05:00
|
|
|
- i3-wm
|
|
|
|
- libasound2-dev
|
2017-01-24 02:49:27 -05:00
|
|
|
- libcairo2-dev
|
2016-12-15 13:16:31 -05:00
|
|
|
- libiw-dev
|
|
|
|
- libmpdclient-dev
|
|
|
|
- libxcb-ewmh-dev
|
|
|
|
- libxcb-icccm4-dev
|
2017-01-19 20:54:06 -05:00
|
|
|
- libxcb-image0-dev
|
2016-12-15 13:16:31 -05:00
|
|
|
- libxcb-randr0-dev
|
|
|
|
- libxcb-util0-dev
|
|
|
|
- libxcb-xkb-dev
|
|
|
|
- libxcb1-dev
|
|
|
|
- python-xcbgen
|
|
|
|
- xcb-proto
|
2017-01-19 21:30:03 -05:00
|
|
|
- xutils-dev
|
2016-06-14 23:32:35 -04:00
|
|
|
|
2016-06-11 06:10:43 -04:00
|
|
|
env:
|
|
|
|
global:
|
2016-11-19 02:55:46 -05:00
|
|
|
- BUILD_TESTS="ON"
|
2016-06-14 23:32:35 -04:00
|
|
|
- LLVM_VERSION="3.8.1"
|
|
|
|
- LLVM_URL="http://llvm.org/releases/${LLVM_VERSION}/llvm-${LLVM_VERSION}.src.tar.xz"
|
|
|
|
- LIBCXX_URL="http://llvm.org/releases/${LLVM_VERSION}/libcxx-${LLVM_VERSION}.src.tar.xz"
|
|
|
|
- LIBCXXABI_URL="http://llvm.org/releases/${LLVM_VERSION}/libcxxabi-${LLVM_VERSION}.src.tar.xz"
|
|
|
|
- CMAKE_URL="https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz"
|
2016-11-19 02:55:46 -05:00
|
|
|
- PYTHONPATH="/usr/lib/python2.7/dist-packages:${PYTHONPATH}"
|
2016-11-19 16:01:14 -05:00
|
|
|
- JOBS=4
|
2016-06-11 06:10:43 -04:00
|
|
|
|
2016-10-11 10:20:19 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- ${TRAVIS_BUILD_DIR}/deps/cmake
|
|
|
|
- ${TRAVIS_BUILD_DIR}/deps/llvm-3.8.1/install
|
2017-01-19 21:30:03 -05:00
|
|
|
- ${TRAVIS_BUILD_DIR}/deps/xcb-util-xrm
|
2016-10-11 10:20:19 -04:00
|
|
|
|
2016-06-14 23:32:35 -04:00
|
|
|
install:
|
2016-11-19 02:55:46 -05:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/environment.sh
|
2017-01-19 21:30:03 -05:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/install_xcb_xrm.sh
|
2016-11-19 02:55:46 -05:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/install_cmake.sh
|
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/install_libcpp.sh
|
2016-10-11 10:20:19 -04:00
|
|
|
|
2016-05-31 04:33:30 -04:00
|
|
|
before_script:
|
2016-11-19 02:55:46 -05:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/summary.sh
|
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/configure.sh
|
2016-05-31 04:33:30 -04:00
|
|
|
|
2016-11-19 02:30:00 -05:00
|
|
|
script:
|
2016-11-19 02:55:46 -05:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/build.sh
|
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/tests.sh
|
2016-05-31 04:33:30 -04:00
|
|
|
|
2016-05-31 07:09:42 -04:00
|
|
|
notifications:
|
2016-11-19 02:31:06 -05:00
|
|
|
email: false
|
2016-05-31 07:09:42 -04:00
|
|
|
irc:
|
|
|
|
channels:
|
2016-11-19 00:22:44 -05:00
|
|
|
- "irc.freenode.org#polybar"
|
2016-05-31 08:53:37 -04:00
|
|
|
template:
|
2016-11-19 02:55:46 -05:00
|
|
|
- "%{author} pushed #%{commit} \"%{commit_subject}\" to %{repository_name}/%{branch}"
|
|
|
|
- "Build #%{build_number} %{result} / %{build_url} (diff: %{compare_url})"
|
|
|
|
use_notice: true
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|