2012-12-26 00:57:10 +00:00
|
|
|
language: cpp
|
2018-05-12 16:03:00 +00:00
|
|
|
dist: trusty
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2018-05-12 23:26:31 +00:00
|
|
|
- g++-8
|
2018-05-12 16:03:00 +00:00
|
|
|
- cmake
|
|
|
|
- libxdamage-dev
|
|
|
|
- libx11-dev
|
|
|
|
- libxft-dev
|
|
|
|
- libxext-dev
|
|
|
|
- libglib2.0-dev
|
|
|
|
- libxml2-dev
|
|
|
|
- libcurl4-gnutls-dev
|
|
|
|
- liblua5.1-0-dev
|
|
|
|
- libtolua++5.1-dev
|
|
|
|
- libcairo2-dev
|
|
|
|
- libimlib2-dev
|
|
|
|
- libxinerama-dev
|
2018-05-13 17:33:18 +00:00
|
|
|
- libmysqlclient-dev
|
|
|
|
- libical-dev
|
|
|
|
- libircclient-dev
|
|
|
|
- libcairo2-dev
|
|
|
|
- libmicrohttpd-dev
|
|
|
|
- ncurses-dev
|
|
|
|
- liblua5.1-dev
|
|
|
|
- librsvg2-dev
|
|
|
|
- libaudclient-dev
|
|
|
|
- libxmmsclient-dev
|
|
|
|
- libpulse-dev
|
|
|
|
- libcurl4-gnutls-dev
|
|
|
|
- audacious-dev
|
|
|
|
- libsystemd-journal-dev
|
|
|
|
- libxml2-dev
|
|
|
|
- tolua++
|
2018-05-12 16:03:00 +00:00
|
|
|
- gawk
|
|
|
|
env:
|
2018-05-12 23:26:31 +00:00
|
|
|
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
|
2018-05-12 16:03:00 +00:00
|
|
|
- os: linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2018-05-12 23:26:31 +00:00
|
|
|
- llvm-toolchain-trusty-6.0
|
2018-05-12 16:03:00 +00:00
|
|
|
packages:
|
2018-05-13 14:20:27 +00:00
|
|
|
- clang-6.0
|
2018-05-12 16:03:00 +00:00
|
|
|
- cmake
|
|
|
|
- libxdamage-dev
|
|
|
|
- libx11-dev
|
|
|
|
- libxft-dev
|
|
|
|
- libxext-dev
|
|
|
|
- libglib2.0-dev
|
|
|
|
- libxml2-dev
|
|
|
|
- libcurl4-gnutls-dev
|
|
|
|
- liblua5.1-0-dev
|
|
|
|
- libtolua++5.1-dev
|
|
|
|
- libcairo2-dev
|
|
|
|
- libimlib2-dev
|
|
|
|
- libxinerama-dev
|
2018-05-13 17:33:18 +00:00
|
|
|
- libmysqlclient-dev
|
|
|
|
- libical-dev
|
|
|
|
- libircclient-dev
|
|
|
|
- libcairo2-dev
|
|
|
|
- libmicrohttpd-dev
|
|
|
|
- ncurses-dev
|
|
|
|
- liblua5.1-dev
|
|
|
|
- librsvg2-dev
|
|
|
|
- libaudclient-dev
|
|
|
|
- libxmmsclient-dev
|
|
|
|
- libpulse-dev
|
|
|
|
- libcurl4-gnutls-dev
|
|
|
|
- audacious-dev
|
|
|
|
- libsystemd-journal-dev
|
|
|
|
- libxml2-dev
|
|
|
|
- tolua++
|
2018-05-12 16:03:00 +00:00
|
|
|
- gawk
|
2018-05-12 23:26:31 +00:00
|
|
|
sonarcloud:
|
|
|
|
organization: "brndnmtthws-github"
|
|
|
|
token:
|
|
|
|
secure: "KikPusy+HXcEVLr0Dqb6mkrefDU5jm7EGQ5fwO4sBG7bRMcnHV3V14s5yB4Ol8btpUC0nkNn/41+f37lkG+oT4y9ZeIH2ZrhsSEHxOgH6DF9ZSVJwtpLrF9siWgfZ0m5c5V7U5rzVYL3jlO1hQfXKCfMNAcwlKcEUrfpk7jVEZc="
|
2018-05-12 16:03:00 +00:00
|
|
|
env:
|
2018-05-12 23:26:31 +00:00
|
|
|
- MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
|
2018-05-12 16:03:00 +00:00
|
|
|
before_install:
|
|
|
|
- eval "${MATRIX_EVAL}"
|
2012-12-26 00:57:10 +00:00
|
|
|
before_script:
|
2018-05-13 02:46:47 +00:00
|
|
|
- mkdir build && cd build
|
2018-05-13 17:33:18 +00:00
|
|
|
- >
|
|
|
|
cmake
|
|
|
|
-DBUILD_MYSQL=ON
|
|
|
|
-DBUILD_LUA_CAIRO=ON
|
|
|
|
-DBUILD_LUA_IMLIB2=ON
|
|
|
|
-DBUILD_LUA_RSVG=ON
|
|
|
|
-DBUILD_LUA_CAIRO=ON
|
|
|
|
-DBUILD_AUDACIOUS=ON
|
|
|
|
-DBUILD_XMMS2=ON
|
|
|
|
-DBUILD_ICAL=ON
|
|
|
|
-DBUILD_IRC=ON
|
|
|
|
-DBUILD_HTTP=ON
|
|
|
|
-DBUILD_ICONV=ON
|
|
|
|
-DBUILD_PULSEAUDIO=ON
|
|
|
|
-DBUILD_JOURNAL=ON
|
|
|
|
-DBUILD_RSS=ON
|
|
|
|
..
|
2018-05-12 16:03:00 +00:00
|
|
|
- cd ..
|
|
|
|
- mkdir build-no-x11
|
|
|
|
- cd build-no-x11
|
2018-05-13 17:33:18 +00:00
|
|
|
- >
|
|
|
|
cmake
|
|
|
|
-DBUILD_X11=OFF
|
|
|
|
-DBUILD_MYSQL=ON
|
|
|
|
-DBUILD_LUA_CAIRO=ON
|
|
|
|
-DBUILD_LUA_IMLIB2=ON
|
|
|
|
-DBUILD_LUA_RSVG=ON
|
|
|
|
-DBUILD_LUA_CAIRO=ON
|
|
|
|
-DBUILD_AUDACIOUS=ON
|
|
|
|
-DBUILD_XMMS2=ON
|
|
|
|
-DBUILD_ICAL=ON
|
|
|
|
-DBUILD_IRC=ON
|
|
|
|
-DBUILD_HTTP=ON
|
|
|
|
-DBUILD_ICONV=ON
|
|
|
|
-DBUILD_PULSEAUDIO=ON
|
|
|
|
-DBUILD_JOURNAL=ON
|
|
|
|
-DBUILD_RSS=ON
|
|
|
|
..
|
2018-05-12 16:03:00 +00:00
|
|
|
- cd ..
|
2013-09-15 16:45:56 +00:00
|
|
|
script:
|
2018-05-12 16:03:00 +00:00
|
|
|
- cd build
|
2018-05-13 14:20:27 +00:00
|
|
|
- if [ "$CXX" = "clang++-6.0" ] ; then build-wrapper-linux-x86-64 --out-dir bw-output make -j4 ; fi
|
|
|
|
- if [ "$CXX" = "g++-8" ] ; then make -j4 ; fi
|
2018-05-12 16:03:00 +00:00
|
|
|
- cd ../build-no-x11
|
2018-05-12 23:26:31 +00:00
|
|
|
- make -j4
|
|
|
|
- cd ..
|
2018-05-19 14:35:23 +00:00
|
|
|
- if [ "$CXX" = "clang++-6.0" -a ! -z "$SONAR_TOKEN" ] ; then sonar-scanner ; fi
|
2012-12-26 00:57:10 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2015-11-30 21:17:54 +00:00
|
|
|
sudo: false
|
2018-05-13 14:58:09 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- '$HOME/.sonar/cache'
|