-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy path.travis.yml
58 lines (58 loc) · 4.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: C
sudo: required
dist: trusty
addons:
apt:
packages:
- libtool
- libglib2.0-dev
- libmagic-dev
- libxml2-dev
- libmicrohttpd-dev
- libcurl4-openssl-dev
- libjansson-dev
- libjansson4
- autoconf-archive
- lcov
- tree
coverity_scan:
project:
name: armadito/armadito-av
description: Build submitted via Travis CI
notification_email: [email protected]
build_command_prepend: "./configure; make clean"
build_command: make -j 4
branch_pattern: coverity_scan
sonarqube:
branches:
- DEV
deploy:
skip_cleanup: true
provider: launchpad
slug: "~armadito/armadito-av/+git/main"
oauth_token:
secure: cPAagm8e8UwKI8cGFlGCTpeNzneiVETYIOA12tQ9M+j4o77T7kxqAbZ0J1bODdtGC6eYkHYbL1daKnsLVwXClThtZkblPOlkLs50CClOP9y8KJDjIecFf+3rA9F5GB9UTv4sZCtgrayMpvISCMByTx4YNKBVLP7wnRtBn5iPp7azzbBQMJsM74KGsGF6kKmtN7a3gIggQnGNXqIUeEbNzLxQDh2/hlSqTobv7wW6QnpRzcn9cXhK1V304Bvln/qLjNX5ImQ7KQalN2IPUgvprOktbe4MNkjiLT+Qah3Dj4A8YWF0JotaMT9dJjmBqF79hYlePHMYjbxbPt+4H9jbjVj0OLHRXd5iKv3KIijXFo5N0Xveld2nZx/xvwi54eyGghAHmuJkel9y3bIfKX94UPRS9s59/22KEyZKSpxw9N78RLqljEUaHLbWtxkZ2V8RBEBecaf7+dEWgfPJuXAf1a2aJg6BNkfgWm1TeP1xbbCylDwM0c2WGE4JQN1BsAT4mshyCGA1sSs4fPdE6Q1YuAljFHLl6ufEI6P8vUxp9nE3nMSzfEMFPKk77sn5dDC2ZzatYwM76Oh6FjAfi0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342BGxVF03p2rhOwYrp6LFmvW42zczW38=
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-
- wget https://sonarqube.com/static/cpp/build-wrapper-linux-x86.zip
- unzip build-wrapper-linux-x86.zip
- export PATH=$PWD/build-wrapper-linux-x86:$PATH
compiler:
- gcc
before_script:
- "./autogen.sh"
script:
- "./configure --enable-gcov"
- build-wrapper-linux-x86-64 --out-dir build-wrapper-out make clean all
- make check || true
- make coverage || true
- sonar-scanner -X -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_TOKEN