forked from alanxz/rabbitmq-c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (45 loc) · 1.22 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
# Travis-CI Build for rabbitmq-c
# see travis-ci.org for details
language: c
# Use the faster container-based infrastructure.
sudo: false
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: "gDwqo3jHj+HHGzFKnxL/nwZhbVeh2pItw0TbeaHcLtWubUZaf85ViEQRaXPyfnbG7l0OEQq+PjyhKAfvViVq2NP0lGeeu4VM5uMZJhsCLN594BJr39Y4XzOapg0O8mEMhQ0DU2u1Zo4LMgEcRz67aosVQOj6QV30tOzp9fnxn9U="
matrix:
include:
- compiler: gcc
os: linux
env: CONFIG=autotools
- compiler: gcc
os: linux
env: CONFIG=cmake
- compiler: clang
os: linux
env: CONFIG=cmake
- compiler: clang
os: linux
env: CONFIG=asan
- compiler: clang
os: linux
env: CONFIG=tsan
- compiler: clang
os: osx
env: CONFIG=cmake
# Run the Build script
script:
- ./travis.sh $CONFIG
addons:
apt:
packages:
- libpopt-dev
coverity_scan:
project:
name: "alanxz/rabbitmq-c"
description: "C AMQP client for RabbitMQ"
notification_email: [email protected]
build_command_prepend: cmake ..
build_command: cmake --build .
branch_pattern: coverity_scan