mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
travis: Remove converity
This commit is contained in:
parent
0e5d0e0077
commit
e4a3b64258
37
.travis.yml
37
.travis.yml
@ -5,15 +5,6 @@ language: cpp
|
|||||||
|
|
||||||
cache: ccache
|
cache: ccache
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
|
||||||
# via the "travis encrypt" command using the project repo's public key
|
|
||||||
- secure: "eOnFdiRhB7VUZY7Of4Ff0px93HRWGcD4fXCPiy8V2OC2ER98CYCVw7PKt2Is6i/yTveFTps1kObOo0T03aUT8y/xeBy/wMuJYk1d6mVgmSXOjxcxjQVTUh4J+xB+k/R6FoP2dirNDbvSayCj9Fi9toN9hQHMM8oAZOZfiKmYTJc="
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
@ -27,26 +18,14 @@ addons:
|
|||||||
- libpq-dev
|
- libpq-dev
|
||||||
- libmysqlclient-dev
|
- libmysqlclient-dev
|
||||||
- libedit-dev
|
- libedit-dev
|
||||||
coverity_scan:
|
|
||||||
project:
|
|
||||||
name: "Icinga/icinga2"
|
|
||||||
notification_email: icinga2@icinga.com
|
|
||||||
build_command_prepend: "cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/tmp/icinga2 -DICINGA2_PLUGINDIR=/tmp/icinga2/sbin -DICINGA2_UNITY_BUILD=ON"
|
|
||||||
build_command: "make -j 2"
|
|
||||||
branch_pattern: coverity_scan
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then
|
- mkdir build
|
||||||
mkdir build &&
|
- cd build
|
||||||
cd build &&
|
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2 -DICINGA2_PLUGINDIR=/tmp/icinga2/sbin
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2 -DICINGA2_PLUGINDIR=/tmp/icinga2/sbin;
|
|
||||||
fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then
|
- make
|
||||||
make &&
|
- make test
|
||||||
make test &&
|
- make install
|
||||||
make install &&
|
- /tmp/icinga2/sbin/icinga2 --version
|
||||||
/tmp/icinga2/sbin/icinga2 --version &&
|
- /tmp/icinga2/sbin/icinga2 daemon -C -DRunAsUser=$(id -u -n) -DRunAsGroup=$(id -g -n)
|
||||||
/tmp/icinga2/sbin/icinga2 daemon -C -DRunAsUser=$(id -u -n) -DRunAsGroup=$(id -g -n);
|
|
||||||
fi
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user