forked from appneta/tcpreplay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update .travis.yml Another attempt at OS X build * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml
- Loading branch information
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,39 @@ | ||
sudo: required | ||
dist: trusty | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
language: c | ||
|
||
compiler: | ||
- gcc | ||
- clang | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- libpcap-dev | ||
|
||
before_install: | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install homebrew/dupes/libpcap; fi | ||
|
||
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 > 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 |