Skip to content

Commit dc038bc

Browse files
committed
add OS X travis-ci build
1 parent 548674b commit dc038bc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
sudo: required
22
dist: trusty
33

4-
os: linux
4+
os:
5+
- linux
6+
- osx
57

68
language: c
79

@@ -14,6 +16,10 @@ addons:
1416
packages:
1517
- libpcap-dev
1618

19+
before_install:
20+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
21+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libpcap; fi
22+
1723
cache:
1824
apt: true
1925

0 commit comments

Comments
 (0)