mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
misc: added osx tests for tagless travis builds
This commit is contained in:
parent
22c95c0c4d
commit
131aa846b6
1 changed files with 24 additions and 0 deletions
24
.travis.yml
24
.travis.yml
|
@ -139,6 +139,30 @@ matrix:
|
||||||
script:
|
script:
|
||||||
- env GO111MODULE=on make test
|
- env GO111MODULE=on make test
|
||||||
|
|
||||||
|
- name: OSX - tests
|
||||||
|
if: tag IS blank
|
||||||
|
os: osx
|
||||||
|
arch: amd64
|
||||||
|
allow_failures:
|
||||||
|
- go: master
|
||||||
|
fast_finish: true
|
||||||
|
addons:
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- libpcap
|
||||||
|
- libusb
|
||||||
|
- p7zip
|
||||||
|
update: true
|
||||||
|
env:
|
||||||
|
- TARGET_OS=darwin
|
||||||
|
- TARGET_ARCH=amd64
|
||||||
|
- PATH="/usr/local/opt/libpcap/bin:$PATH"
|
||||||
|
- LDFLAGS="-L/usr/local/opt/libpcap/lib $LDFLAGS"
|
||||||
|
- CPPFLAGS="-I/usr/local/opt/libpcap/include $CPPFLAGS"
|
||||||
|
- PKG_CONFIG_PATH="/usr/local/opt/libpcap/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||||
|
script:
|
||||||
|
- env GO111MODULE=on make test
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue