-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (40 loc) · 2.65 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
dist: trusty
language: c
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: "pSpxU3KeoSNcRfXp33Xvw5WjFLEvKqnHOovpk5YR430rmJEI43CmD8/ogovbw/iTvBQNWUTdb3qLWDzOpnu9IibxsUkJX56Wjme6wyPcVYSjfy35Y0AMC+fScmIVdCRcLE6oJSryOLhOPkpoEBk+eVKQWjsBXP038TDoARanW1xAaakwginWPXjBgAPRkJ4Re202+kP6Er0htKyhDk6xfGKsD8uCQ2PvbDcueSFVc6T0cVbj1Z1bbl5BjutywqwuAwc+bLc8jV62TjYDtSehZK98qZUbBiZ2bG3wMcJF/URy/C1/D7hZ8FewigaGsaWL35JfxPRXaUnXnRrnXG6ogubENbS9Xf0rb8Sf4cU2oPwYxrTzuzLiSbEKNiBylDsXd6kgn+QEkEN8s7saTRpqz2fP+21RQHqlCLeLalTWHr8uKHTnPvmCEVLhL5sJDuHJoMX4KPAc+J7mRq8XGBkgQSSC874TecWUxi4w3u5Cb+guurFuuuXe/TFOZDAcp3eGnGMJxxNdkPAWNXZzbz5VNCDXkv9CrLZq+RZn9RCkk3Wene4SKj+WpkLCduzIKTEjM0AeyFKJ+XK4WJjwmP3wSH22oelM1jeXoFPDtLld4zYlGMN1BUsHW/Y6oPe2YGkN+pmOQo6OsSF3+EHxnMuKVm9LV2/fjJtMzXzVXkZpA8c="
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-
script:
- echo travis_fold:start:AUTORECONF
- autoreconf --install
- echo travis_fold:end:AUTORECONF
- echo travis_fold:start:CONFIGURE
- ./configure
- echo travis_fold:end:CONFIGURE
- echo travis_fold:start:MAKE
- make
- echo travis_fold:end:MAKE
- echo travis_fold:start:COVERAGE
- make clean
- build-wrapper-linux-x86-64 --out-dir bw-output make coverage
- echo travis_fold:end:COVERAGE
- echo travis_fold:start:SONARCLOUD
- sonar-scanner
- echo travis_fold:end:SONARCLOUD
after_success:
- bash <(curl -s https://codecov.io/bash)
addons:
sonarcloud:
organization: "leakyabstractions"
token:
secure: "i5HFYun/xnfZiR8sbPkh5pHA3Amom4XWhVl7atjHPHQ1St/IZnHfBJQ74bCF5Qv6sEdp3nMsbpRNUQfVbzgOJZ1frC+vNNg9d+lKHOG81zE36JuxytPE0YeT4QmpZjGXh5xyCbFWxYURHDWcWdNiXX5oFHXKULFs+gAEOgTv0Sp2ZxkwlczBrqQ30bHhUaG2obKsiWAM6oPidlqFBMv13trBsJA2R4qcrXSJZgIK9Kek0lC8oNiptpq0QvL4IhPo45fXgjczK9und6eXMAN8fHa65cC57zMxmgesyLi4+bSZBzCdAxXavVdn2wnmtiEbTYe0i7pDJTjsACy8+RVjZ59HarPi1wXPuVjlMj1F9HUraap+QY9qkTVSW2XgYu1Ccw4g64Kxz9lcOt3zGtHaaQy3lDIsxmfCmuE460Zj7aGoIlQytuwUaMn51qrRZf+FTQxx4+j4uFY6xXpDL5p9iHw9uIMG4M+Xu0F+uqSJF57OZ/SsQGgisxSxq60fC0XBuahX4cYxsECxTa5uJqfmsiWQj60u5IRIo6OXhc/foMMyCpomCBZYzYtxGVIXA+/HqZXhgDLacud5RshiR2WE+OWthrIIPtNpe+/Cje6Bid3JV5aS1Oiy6OMScBg63fYho5PcAFSqGlLDK0hilL6N1DPjZW2QL3obXOaMCH4t6jk="
coverity_scan:
project:
name: "LeakyAbstractions/fmt"
description: "A tiny C string formatting library"
notification_email: coverity@guillermo.dev
build_command_prepend: "autoreconf --install; ./configure; make clean"
build_command: "make -j 4"
branch_pattern: coverity_scan