2015-10-04 19:01:34 +02:00
|
|
|
language: cpp
|
2017-11-18 21:03:02 +01:00
|
|
|
dist: trusty
|
2017-11-11 21:09:04 +01:00
|
|
|
sudo: required
|
2015-08-10 21:50:27 +02:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2015-10-04 19:01:34 +02:00
|
|
|
|
2017-11-18 21:03:02 +01:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- autotools-dev
|
|
|
|
- automake
|
|
|
|
- autoconf
|
|
|
|
- autoconf-archive
|
|
|
|
- libtool
|
|
|
|
- libglib2.0-dev
|
|
|
|
- libncurses5-dev
|
2018-01-14 22:39:17 +01:00
|
|
|
- gpm
|
2017-11-18 21:03:02 +01:00
|
|
|
- libgpm-dev
|
|
|
|
- gperf
|
2018-02-25 21:49:04 +01:00
|
|
|
- libcppunit-dev
|
2015-10-04 19:01:34 +02:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2017-11-18 21:03:02 +01:00
|
|
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
|
|
|
# via the "travis encrypt" command using the project repo's public key
|
|
|
|
- secure: |-
|
2018-03-18 15:23:36 +01:00
|
|
|
wvCvMaIm7LoSyWHmpRXvJIetdMnJKsLLxuon6r6BSfpyimoz5FIMEhNhfSt2psv8tJHZgN
|
|
|
|
/FcMcLhnTuTMIjvtlEtb3syfHDaNs7S2q3rm6LCmuIUU4ECAwAorkMQbXcyh5rgPlDMDiw
|
|
|
|
CyBE8O1yFQebAFxRoP181+0uI2IiIP/8EW3P5PDSQzds+9fnnwrFS+OeBoUZfxT0F2kj2f
|
|
|
|
kMXZN4+KmeVIrkqtj8hlRcicLgBPm4hrK5IEUcFLtAbzPj72wkV1duiYG6kqDsATmzMK0m
|
|
|
|
5EuMhQ/nL/rbSjhrcRZzPFQ7P31ToSwg1I6cyhMjyXSbpwdppZ/RSwTpqDCdq9l4bDDmvI
|
|
|
|
qizdwYZKcDtyHxm4Zl/LZKwWDsGEelcmuJKfdu+QuTgInGNlqulmDykvbsrk9jTimIzHTb
|
|
|
|
F8TOn9IpANlTWmvunGeOarvR9qJReZcwSMq41hdMbsUdHiC1arZjKvINcPVuwikzaNq4iA
|
|
|
|
te6mtSdrfdx1wLxQ6ZYNgKd9hz+uUTlBYl80hkATmq0NPnPQw2KzyG9E6nLrKOy2M0ozO8
|
|
|
|
bL/epiiMBKJ37X1UcRU4WZYq+peLME8EefcPcXOSWNLwJtR7mtON8uMBrLL9CWmRMFD5Hy
|
|
|
|
lQYALW2DhCnDBROKB3gxB/VkBGFNE0IPGeDtBGbLqDtKWPQoL125I=
|
2015-10-04 19:01:34 +02:00
|
|
|
|
2017-11-11 21:09:04 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
#
|
|
|
|
# Coverity Scan
|
|
|
|
#
|
|
|
|
- os: linux
|
|
|
|
env:
|
|
|
|
- TEST="Coverity Scan"
|
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
2018-03-18 15:03:07 +01:00
|
|
|
name: gansm/finalcut
|
|
|
|
description: Build submitted via Travis CI
|
2017-11-11 21:09:04 +01:00
|
|
|
notification_email: guru.mail@muenster.de
|
2018-03-18 16:20:12 +01:00
|
|
|
build_command_prepend: "autoreconf -v --install --force && ./configure --prefix=/usr CPPFLAGS='-DDEBUG' CXXFLAGS='-g -O0 -DDEBUG' --with-unit-test && make clean"
|
2018-03-18 16:29:32 +01:00
|
|
|
build_command: "make V=1 -j10 check"
|
2017-11-11 21:09:04 +01:00
|
|
|
branch_pattern: master
|
2017-11-18 21:03:02 +01:00
|
|
|
before_install:
|
|
|
|
- lsb_release -a
|
|
|
|
- uname -a
|
2018-03-18 15:57:21 +01:00
|
|
|
- whoami
|
|
|
|
- sudo apt-get install gpm libgpm-dev libcppunit-dev
|
2018-03-18 15:45:04 +01:00
|
|
|
script:
|
|
|
|
- autoreconf -v --install --force
|
|
|
|
- ./configure --prefix=/usr CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG" --with-unit-test
|
2018-03-18 16:29:32 +01:00
|
|
|
- make V=1 -j10
|
2018-03-18 15:45:04 +01:00
|
|
|
- make check
|
2015-11-22 22:22:28 +01:00
|
|
|
|
2017-11-11 14:52:33 +01:00
|
|
|
#
|
|
|
|
# Coveralls
|
|
|
|
#
|
|
|
|
- os: linux
|
|
|
|
env:
|
|
|
|
- TEST="Coveralls"
|
|
|
|
before_install:
|
2017-11-18 21:03:02 +01:00
|
|
|
- lsb_release -a
|
|
|
|
- uname -a
|
2017-11-11 14:52:33 +01:00
|
|
|
- pip install --user cpp-coveralls
|
|
|
|
script:
|
|
|
|
- ./build.sh coverage
|
|
|
|
after_success:
|
2017-11-11 22:18:15 +01:00
|
|
|
- coveralls --gcov-options '\-lp' -e debian -e doc -e icon -e logo -e m4 -e scripts
|
2017-11-11 14:52:33 +01:00
|
|
|
|
2017-11-18 21:03:02 +01:00
|
|
|
#
|
|
|
|
# macOS
|
|
|
|
#
|
|
|
|
- os: osx
|
|
|
|
env:
|
|
|
|
- TEST="macOS"
|
|
|
|
before_install:
|
|
|
|
- uname -a
|
|
|
|
script:
|
|
|
|
- autoreconf -v --install --force
|
|
|
|
- ./configure --prefix=/usr
|
|
|
|
- make -j10
|
|
|
|
|