Travis: use regular OSX image

This commit is contained in:
Pierre LALET 2017-12-05 10:07:26 +01:00
parent af1d768087
commit a92cbab0bc
2 changed files with 3 additions and 5 deletions

View File

@ -33,13 +33,11 @@ matrix:
- os: osx
language: generic
osx_image: xcode7.3
- os: osx
language: generic
osx_image: xcode7.3
env:
- SCAPY_SUDO=false SCAPY_USE_PCAPDNET=yes
- SCAPY_USE_PCAPDNET=yes
# Run as root
- os: linux
@ -106,13 +104,11 @@ matrix:
- os: osx
language: generic
osx_image: xcode7.3
env:
- SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
- os: osx
language: generic
osx_image: xcode7.3
env:
- SCAPY_SUDO=sudo SCAPY_USE_PCAPDNET=yes SCAPY_COVERAGE=yes

View File

@ -1,3 +1,5 @@
PIP=`which pip || (python --version | grep -q 'Python 2' && which pip2) || (python --version | grep -q 'Python 3' && which pip3)`
# Install dependencies using pip
if [ -z "$SCAPY_SUDO" -o "$SCAPY_SUDO" = "false" ]
then