-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
147 lines (130 loc) · 4.2 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
language: c
script: cmake
dist: trusty
sudo: required
group: edge
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: "Zn1EgSdB3nsVXp/c6OTWrD7o/Sofc/jhbBHOePWrG94qhzuU06kQlaONDdOFm//WXWuhvbLxCXZvBPTnVoYk72F1DUQREnaZ5+Wvoi/Xju1of49ynbX28EZrK8RjYHy1yD8DXJAYEsgD+bDoSWGYFJ8bUqgJq1QFBUKkGBum7OOikidQ4R2VBAGZUSL/1q7McgiOOrhdqS7HoOs5xUzd+Y2Kcr02SIdaw3ty6m82+5HCcrIZbSlGYAWC7DD/VKn6xlIF4Ap/STPMoO2xTNrNLzG4b4LgRvolvHvXFRJz3r49D7oaU9AufCpXNLzuC7IpjvGO1ORBSHZni4VfHuPCt1tJvjAmEc7iWYcumnI/wIAGaSLX+/e+bWkfi5j2zX97kKYO8ly5imwrcO4oLuThe1fVhseyvQiufDLltTyjAlYosR0InksWYuBv/YKREKGyjG9kGwl5qUPj07w2X3E9Eur6OCmjjQiX3cYXWP2ffZx+0SQHSw15JPs4RuaiIKdNiKh0kBMG+nrSUuYAgBqxYcUDVfuQJz3AZXRIO1/uVtBYfpROS0TgnN8NewbEhasICMsAgZDwyWbUDcGxjTA/U4rAIv36hhWTXisCtnzsttuU3N2zdutdc/xNlZvAaa6N1bUz8IF+jhMSF4NZAXvt0mdoWholqrl/+MnmGQyZyEs="
script:
- mkdir build
- cd build
- cmake .. ${CMAKE_OPTIONS}
- make
- make test
matrix:
include:
# Coveralls
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['check', 'g++-4.9']
before_script:
- pip install --user cpp-coveralls
after_success:
- coveralls --root .. --build-root . --include src --gcov 'gcov-4.9' --gcov-options '\-lp'
env:
- COMPILER=g++-4.9
- CMAKE_OPTIONS=-DENABLE_COVERAGE=ON
# Coverity
- os: linux
compiler: gcc
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-certificates.crt
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['check', 'g++-4.9']
coverity_scan:
project:
name: "appnexus/acf"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "mkdir coverity_build ; cd coverity_build ; cmake .. ; cd .."
build_command: "make -C coverity_build"
branch_pattern: coverity_scan
env:
- COMPILER=g++-4.9
- TESTING=coverity
# Linux / GCC
- os: linux
compiler: gcc
env: COMPILER=gcc-4.9
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['check', 'gcc-4.9']
- os: linux
compiler: gcc
env: COMPILER=gcc-5
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['check', 'gcc-5']
- os: linux
compiler: gcc
env: COMPILER=gcc-6
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['check', 'gcc-6']
- os: linux
compiler: gcc
env: COMPILER=gcc-7
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['check', 'gcc-7']
# Linux / Clang
- os: linux
compiler: clang
env: COMPILER=clang-3.5
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5']
packages: ['check', 'g++-6', 'clang-3.5']
- os: linux
compiler: clang
env: COMPILER=clang-3.6
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6']
packages: ['check', 'g++-6', 'clang-3.6']
- os: linux
compiler: clang
env: COMPILER=clang-3.7
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7']
packages: ['check', 'g++-6', 'clang-3.7']
- os: linux
compiler: clang
env: COMPILER=clang-3.8
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['check', 'g++-6', 'clang-3.8']
- os: linux
compiler: clang
env: COMPILER=clang-3.9
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['check', 'g++-6', 'clang-3.9']
- os: linux
compiler: clang
env: COMPILER=clang-4.0
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0']
packages: ['check', 'g++-6', 'clang-4.0']
- os: linux
compiler: clang
env: COMPILER=clang-5.0
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-5.0']
packages: ['check', 'g++-6', 'clang-5.0']