2016-05-31 08:33:30 +00:00
|
|
|
sudo: required
|
2016-10-12 09:49:17 +00:00
|
|
|
dist: trusty
|
2016-10-11 14:20:19 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
2016-10-29 04:58:04 +00:00
|
|
|
- gcc
|
2016-05-26 19:10:37 +00:00
|
|
|
|
2016-06-15 03:32:35 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.8
|
2016-12-15 18:16:31 +00:00
|
|
|
- sourceline: "ppa:george-edison55/george-edison"
|
2016-06-15 03:32:35 +00:00
|
|
|
packages:
|
2016-10-25 11:32:22 +00:00
|
|
|
- gcc-5
|
|
|
|
- g++-5
|
2016-06-15 03:32:35 +00:00
|
|
|
- clang-3.8
|
2016-12-15 18:16:31 +00:00
|
|
|
- cmake
|
|
|
|
- cmake-data
|
|
|
|
- i3-wm
|
|
|
|
- libasound2-dev
|
|
|
|
- libboost-dev
|
|
|
|
- libfreetype6-dev
|
|
|
|
- libiw-dev
|
|
|
|
- libmpdclient-dev
|
|
|
|
- libxcb-ewmh-dev
|
|
|
|
- libxcb-icccm4-dev
|
|
|
|
- libxcb-image0-dev
|
|
|
|
- libxcb-randr0-dev
|
|
|
|
- libxcb-util0-dev
|
|
|
|
- libxcb-xkb-dev
|
|
|
|
- libxcb1-dev
|
|
|
|
- python-xcbgen
|
|
|
|
- xcb-proto
|
2016-06-15 03:32:35 +00:00
|
|
|
|
2016-06-11 10:10:43 +00:00
|
|
|
env:
|
|
|
|
global:
|
2016-11-19 07:55:46 +00:00
|
|
|
- BUILD_TESTS="ON"
|
2016-06-15 03:32:35 +00: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 07:55:46 +00:00
|
|
|
- PYTHONPATH="/usr/lib/python2.7/dist-packages:${PYTHONPATH}"
|
2016-11-19 21:01:14 +00:00
|
|
|
- JOBS=4
|
2016-06-11 10:10:43 +00:00
|
|
|
|
2016-10-11 14:20:19 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- ${TRAVIS_BUILD_DIR}/deps/cmake
|
|
|
|
- ${TRAVIS_BUILD_DIR}/deps/llvm-3.8.1/install
|
|
|
|
|
2016-06-15 03:32:35 +00:00
|
|
|
install:
|
2016-11-19 07:55:46 +00:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/environment.sh
|
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/install_cmake.sh
|
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/install_libcpp.sh
|
2016-10-11 14:20:19 +00:00
|
|
|
|
2016-05-31 08:33:30 +00:00
|
|
|
before_script:
|
2016-11-19 07:55:46 +00:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/summary.sh
|
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/configure.sh
|
2016-05-31 08:33:30 +00:00
|
|
|
|
2016-11-19 07:30:00 +00:00
|
|
|
script:
|
2016-11-19 07:55:46 +00:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/build.sh
|
|
|
|
- source ${TRAVIS_BUILD_DIR}/common/travis/tests.sh
|
2016-05-31 08:33:30 +00:00
|
|
|
|
2016-05-31 11:09:42 +00:00
|
|
|
notifications:
|
2016-11-19 07:31:06 +00:00
|
|
|
email: false
|
2016-05-31 11:09:42 +00:00
|
|
|
irc:
|
|
|
|
channels:
|
2016-11-19 05:22:44 +00:00
|
|
|
- "irc.freenode.org#polybar"
|
2016-05-31 12:53:37 +00:00
|
|
|
template:
|
2016-11-19 07:55:46 +00: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
|