forked from intel/cc-oci-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (43 loc) · 2.56 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
sudo: required
dist: trusty
language: c
compiler:
- gcc
- clang
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: DqkEeBrnNMc5yTF+zLcNQw2hUg/tF51XsR22cX9ROTyPqxr+hoBiZFqR2m/oet4+8+vD5j7hk0u7Ipy/z46oVozGC7BUxdZ8x9TCX0/vhjcz4fpVIOkyOiIF0NeVUIIXbmowW9oqnnBj4xMXXYejube1DrCvxxmsur3zN1bv8to4cahW6bOS+CqTGX1FVLb0/70EVsm8+eWnTS/m3Rb05CHInjscbAns7Z+plCwvIDcLQH5AKXCbJIa7bioFaWK2AuVoR+cwd+kU9ee20jq+1sVXRXPfdJH4YwJa2oO69ifm9sf02hqzN0gpJGyaNqVrcBBy7jiD9aULp1/755PMAaqfTDZAHXjWidXZy8HGmvz0gxq84lusPTQGm9PLfz6Ll7QKWglckQxBJfEZKFErzS7vDU5O69DbdAYQaprthB0RCZRhiOWfpYpujQvHFfkNBC7kFYxLa961083iX7M0scXRohnyjlCL/zG31ZrlIWiG1UM4F6oar8wywDWgNpYP2Gs26DBbbLWw+qbPvi5Kjuu5osYc49k+5MQIynNzL8WlYbyPBV7StcKrL9jicss7qVE039Yci17OShia/gkElzVQDYwHsF0Xc93jl5J1j25VHiH2Jtx1l4d5epP4C+1ScdqAnOH3yJ5gORjI2q/vGdwtXADzh8zcB2v3bpNK4Uk=
# Only run for the default compiler to minimise the impact on the
# projects Coverity Scan quota.
- coverity_scan_run_condition='"$CC" = gcc'
before_script:
- "./.ci/ci-setup.sh"
script:
- "./.ci/ci-build.sh"
after_failure:
- "./.ci/ci-teardown.sh"
notifications:
email:
recipients:
on_success: change
on_failure: always
slack:
secure: l/E9H4p6KHHBU+BHetJoQ1OoyNeVKmcW5NHhmBxTq10n2orM0fbLjYQUWMnsvdxL11uzS/QtoA3uan5rVlqKllazk59iqO7iGkNrecdyvyeTHwT7PWsXy36VgYahX5MXusRi+zPCS1rnKszPKOXdRIqqMIOv+T8zvkKK2RdZFZtsc0k/uKzxMunUm5nBaG7WUmm5ZyEULJ4rZiZ3i1t/BwpMnBlbOt+CO18xhfKz1lcMBWa74wajpsjNtMPNptYrkaw2mmBiIWtkUWE7Gap6Y+93ynxX+B+OfvwRLwKDoWil3j6bG7zIpXEMZnLURoiH+VaVvc8/tmQF2F6jq5+jobm+SrqWIQw1JebdPdhVMytYQj5YmgDcXAXMnk2opxSVKli+EuQn4TilYLfTPkRYZJ4fJIjj5NwhE31CyfHOrTI1jjdAzROo9hdR3L3uyQfLYwo00r4GINYfQOLfkERSaax+r9uZGGzMZYQ9tnz+xQw84mH7MUp01s+tom9/AuDhypusDy7OMmJwq1cyBzSxdWbZnfIsfnj57a/4XAdIr7g/XSK5pmPdkDj3aZ3XRwuP9SlVkEqiXi5x1M0vxapQPjwd/el4uwTUq9UW8s+GPjuNZSzqopD2XIP8Avgm2+zO146SH2MZLiJdLiBv3XV0IXmCuKXZeEUU9uINB7GiHFk=
addons:
coverity_scan:
project:
name: 01org/cc-oci-runtime
description: Build submitted via Travis CI
build_command_prepend: "./.ci/ci-configure.sh; make clean"
build_command: make -j5
branch_pattern: coverity_scan
# It should be possible to specify the Coverity notification email
# using environment variable COVERITY_SCAN_NOTIFICATION_EMAIL
# (standard, encrypted, or repository type).
#
# However, the Travis logs show this variable is silently unset
# before Travis passes the information to the Coverity addon.
notification_email: [email protected]