forked from att/ast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoverity-travis.yml
38 lines (31 loc) · 1.36 KB
/
coverity-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
sudo: required
language: c
env:
global:
# COVERITY_SCAN_TOKEN
- secure: "BsKgvr97ykXKfTwCHQshe4pUMsPySrbqDr1LC+8ixKap3GOHO9wz8sMlPHtIuYjMeJ7sRHiNpDcZ+GC3j3uwj3Wn+2mIIcPF/lefw6KZbxSmuPwELfXdI3MCZwOgZr2KfnsAPMbv7fWFTHwLYUCler8WI+ko9Yvc/ZC1w7hEiP8="
before_install:
- sudo apt-get update
- sudo apt-get install python3-pip
- sudo pip3 install meson==0.44.0
# Ubuntu repositories have older version of ninja
- wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
- unzip ninja-linux.zip
- mv ninja ~/bin
script:
- exit 0
addons:
coverity_scan:
# GitHub project metadata
project:
name: ksh
# Where email notification of build analysis results will be sent
notification_email: [email protected]
# Commands to prepare for build_command
build_command_prepend: meson -Dbuild-api-tests=false build
# The command that will be added as an argument to "cov-build" to compile your project for analysis,
build_command: ninja -C build
# Pattern to match selecting branches that will run analysis. We recommend leaving this set to 'coverity_scan'.
# Take care in resource usage, and consider the build frequency allowances per
# https://scan.coverity.com/faq#frequency
branch_pattern: coverity_scan