2015-10-04 19:01:34 +02:00
|
|
|
language: cpp
|
2019-11-19 02:46:01 +01:00
|
|
|
dist: xenial
|
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:
|
2019-11-19 02:46:01 +01:00
|
|
|
- g++
|
2019-10-21 02:07:12 +02:00
|
|
|
- autotools-dev
|
|
|
|
- automake
|
|
|
|
- autoconf
|
|
|
|
- autoconf-archive
|
|
|
|
- libtool
|
|
|
|
- pkg-config
|
|
|
|
- libglib2.0-dev
|
|
|
|
- libncurses5-dev
|
|
|
|
- gpm
|
|
|
|
- libgpm-dev
|
|
|
|
- gperf
|
|
|
|
- libcppunit-dev
|
2018-12-06 21:48:26 +01:00
|
|
|
homebrew:
|
|
|
|
packages:
|
2018-12-06 22:09:29 +01:00
|
|
|
- autoconf-archive
|
2020-02-24 11:41:54 +01:00
|
|
|
update: true
|
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
|
|
|
|
2020-10-11 09:14:52 +02:00
|
|
|
jobs:
|
2017-11-11 21:09:04 +01:00
|
|
|
include:
|
|
|
|
#
|
|
|
|
# Coverity Scan
|
|
|
|
#
|
|
|
|
- os: linux
|
|
|
|
env:
|
|
|
|
- TEST="Coverity Scan"
|
|
|
|
addons:
|
2019-10-20 23:05:45 +02:00
|
|
|
apt:
|
2019-12-16 11:14:24 +01:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2019-10-21 02:07:12 +02:00
|
|
|
packages:
|
2019-12-16 11:14:24 +01:00
|
|
|
- ca-certificates
|
|
|
|
- gcc
|
2019-11-19 02:46:01 +01:00
|
|
|
- g++
|
2019-10-21 02:07:12 +02:00
|
|
|
- gpm
|
|
|
|
- libgpm-dev
|
|
|
|
- libcppunit-dev
|
|
|
|
- autoconf-archive
|
2017-11-11 21:09:04 +01:00
|
|
|
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
|
2019-11-19 02:46:01 +01:00
|
|
|
build_command_prepend: "autoreconf -v --install --force && ./configure --prefix=/usr CPPFLAGS='-DDEBUG' CXXFLAGS='-g -O0 -DDEBUG -DUNIT_TEST' --with-unit-test && make clean"
|
2018-07-23 01:08:41 +02:00
|
|
|
build_command: "make V=1 -j10"
|
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
|
2019-11-07 03:43:39 +01:00
|
|
|
- echo -n | openssl s_client -CApath /etc/ssl/certs/ -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
|
2018-03-18 15:45:04 +01:00
|
|
|
script:
|
2020-05-13 23:47:14 +02:00
|
|
|
- cat /home/travis/build/gansm/finalcut/cov-int/scm_log.txt || echo
|
2018-03-18 15:45:04 +01:00
|
|
|
- autoreconf -v --install --force
|
2019-07-28 23:48:14 +02:00
|
|
|
- ./configure --prefix=/usr CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG -DUNIT_TEST" --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
|
2020-05-13 23:47:14 +02:00
|
|
|
- cat test/*.log || echo
|
2015-11-22 22:22:28 +01:00
|
|
|
|
2017-11-11 14:52:33 +01:00
|
|
|
#
|
2019-08-09 06:48:39 +02:00
|
|
|
# Coveralls + Codecov
|
2017-11-11 14:52:33 +01:00
|
|
|
#
|
|
|
|
- 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
|
2019-08-09 06:48:39 +02:00
|
|
|
- sudo pip install codecov
|
2017-11-11 14:52:33 +01:00
|
|
|
script:
|
|
|
|
- ./build.sh coverage
|
|
|
|
after_success:
|
2018-03-30 00:12:20 +02:00
|
|
|
- coveralls --gcov-options '\-lp' -e debian -e doc -e icon -e logo -e m4 -e scripts -e examples
|
2019-08-09 06:48:39 +02:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2017-11-11 14:52:33 +01:00
|
|
|
|
2020-04-13 12:52:45 +02:00
|
|
|
#
|
2020-04-14 23:46:42 +02:00
|
|
|
# SonarCloud
|
2020-04-13 12:52:45 +02:00
|
|
|
#
|
|
|
|
- os: linux
|
|
|
|
env:
|
|
|
|
- TEST="sonarcloud"
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- ca-certificates
|
|
|
|
- gcc
|
|
|
|
- g++
|
|
|
|
- gpm
|
|
|
|
- libgpm-dev
|
|
|
|
- libcppunit-dev
|
|
|
|
- autoconf-archive
|
|
|
|
sonarcloud:
|
|
|
|
organization: "gansm"
|
|
|
|
token:
|
|
|
|
secure: |-
|
|
|
|
Vai4Z9BoLsCdrtra5bP/xM8uZnMLKXWS3AH0Z6NnP6bBIa7o9i44Hg5b80P5yL3w
|
|
|
|
22NgZcX5BrPNhTFbbsulw+F8OdnDETV1bxrDkAVaLGlw+pVjBFNhwXZzyHTx7rsX
|
|
|
|
GQ/5ry1gIclRlyUO6atW5zQsImAPkTuMv6fFzjgiN1z5vheOTjOKpKqVZNWOURJT
|
|
|
|
kKgSqiPgHMlR8JLqlHJ/322YVjOOwTLNPrHV6/TrWFrIHI3nChYYX60394sTzKrv
|
|
|
|
XkU0uvoiJts0cEk97AWcWEfq5TkF1X9604UOZRifNps9kfNZOHjgUuFUvvo3WE8W
|
|
|
|
ek9LU/0Ec9kViJEASsSE6VzNXWDqu+VkqisJwchUkn6OxoDILSkJpceco/Rx4dAO
|
|
|
|
phMSgXjCCsvz5igniVyFUixoBvGo4D1bLO6zZPDVxXMDMhpzQKqwqkJo6FYcl109
|
|
|
|
rni9IuLvMFDAwUuzCbXlbjSPvdOoDiq+8NY1A0TOtTp4z4q9NCPr6TlCcKrazqnN
|
|
|
|
Xz4Nxo8xZCHxaH7CaXjBmh91Wp5aIzbwJS9fg6A7e2Is1HJm9YW1j3akBjzT//kE
|
|
|
|
GhOEiXesrPvH5c9XxyO8ZgnkYjNBAES/9aUn8NZBPgQqcUhWAAe1r9fH4iy3Zj+/
|
|
|
|
26IUvLfJ05uf1yEAzR9/xDIJFF7Heg1FRtzd6IiAdQ4=
|
|
|
|
script:
|
|
|
|
- autoreconf -v --install --force
|
|
|
|
- ./configure --prefix=/usr
|
|
|
|
- build-wrapper-linux-x86-64 --out-dir bw-output make all
|
|
|
|
- sonar-scanner
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- '$HOME/.sonar/cache'
|
|
|
|
|
2017-11-18 21:03:02 +01:00
|
|
|
#
|
|
|
|
# macOS
|
|
|
|
#
|
|
|
|
- os: osx
|
2019-11-18 16:43:07 +01:00
|
|
|
osx_image: xcode11
|
2017-11-18 21:03:02 +01:00
|
|
|
env:
|
|
|
|
- TEST="macOS"
|
2019-11-18 01:40:42 +01:00
|
|
|
before_install:
|
2018-12-06 21:48:26 +01:00
|
|
|
- uname -a
|
2019-11-18 16:43:07 +01:00
|
|
|
- g++ --version
|
2019-11-18 01:40:42 +01:00
|
|
|
script:
|
2017-11-18 21:03:02 +01:00
|
|
|
- autoreconf -v --install --force
|
|
|
|
- ./configure --prefix=/usr
|
|
|
|
- make -j10
|