From 37997002bd96b6cc8ceb2f7e582627c483c1cb56 Mon Sep 17 00:00:00 2001
From: Guillaume Valadon <guillaume.valadon@ssi.gouv.fr>
Date: Thu, 24 Nov 2016 12:59:34 +0100
Subject: [PATCH] OS X Travis tests fixed

---
 .travis.yml     | 1 +
 .travis/test.sh | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 7ce32558..dd6869ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,6 +12,7 @@ matrix:
         - os: osx
           language: generic
           env:
+            - TRAVIS_SUDO=false
             - SCAPY_USE_PCAPDNET=yes
 
         # Run as root
diff --git a/.travis/test.sh b/.travis/test.sh
index 62758444..d22d7d2c 100644
--- a/.travis/test.sh
+++ b/.travis/test.sh
@@ -1,3 +1,7 @@
+# Dump environment variables
+echo "TRAVIS_SUDO=" $TRAVIS_SUDO
+echo "TRAVIS_OS_NAME=" $TRAVIS_OS_NAME
+
 # Dump Scapy config
 python -c "from scapy.all import *; print conf"
 
-- 
GitLab