forked from appneta/tcpreplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (34 loc) · 818 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
38
39
sudo: required
language: c
addons:
apt:
packages:
- libpcap-dev
cache:
apt: true
matrix:
include:
- os: osx
osx_image: xcode6.4
compiler: gcc
before_install:
- brew update
- brew install autogen homebrew/dupes/libpcap
- 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