forked from appneta/tcpreplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (33 loc) · 886 Bytes
/
.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
sudo: required
os: linux
dist: focal
compiler: gcc
language: c
addons:
apt:
packages:
- libpcap-dev
matrix:
include:
- os: linux
addons:
apt:
packages:
- libpcap-dev
- autogen
- os: linuxal
env: CI_BUILD_PREFIX=scan-build-11
addons:
apt:
packages:
- libpcap-dev
- autogen
- clang-tools-11
before_script:
- git pull --tags
script:
- autoreconf -iv > build.log 2>&1 || (cat build.log && exit 1)
- ${CI_BUILD_PREFIX} ./configure --disable-local-libopts --enable-asan --with-testnic=$(ip l | grep ens | cut -d':' -f2 | xargs) > build.log 2>&1 || (cat build.log && exit 1)
- ${CI_BUILD_PREFIX} make > build.log 2>&1 || (cat build.log && exit 1)
- make dist > build.log 2>&1 || (cat build.log && exit 1)
- sudo make test || (cat test/test.log && exit 1)