forked from appneta/tcpreplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (41 loc) · 1.42 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
sudo: required
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: "F/PkNS6cxaD8Stj3ZdfnRMs5YIb4kRz1QQFwTYJu5o0F8IzGlow11AjqgGWov0KbbYaZGIGN5DlNUtOvUuNcqaPpkoHohoDBO/TcDLgVzwhBNLBCm1bho6DHuuSX1MKo+TWS1xJLCx+1+oRvSCLNjTrI3gYFwksrJhfDf9fw6VI="
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-
addons:
coverity_scan:
project:
name: "appneta/tcpreplay"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "./autogen.sh; ./configure; make clean"
build_command: "make"
branch_pattern: coverity_scan
apt:
packages:
- libpcap-dev
matrix:
include:
- os: osx
osx_image: xcode8.2
compiler: clang
before_install:
- brew update
- brew install autogen
- os: linux
dist: trusty
compiler: gcc
- os: linux
dist: trusty
compiler: clang
script:
- autoreconf -iv > build.log 2>&1 || (cat build.log && exit 1)
- ./configure --disable-local-libopts > build.log 2>&1 || (cat build.log && exit 1)
- make > build.log 2>&1 || (cat build.log && exit 1)
- make dist > build.log 2>&1 || (cat build.log && exit 1)
- sudo make test