Skip to content
Snippets Groups Projects
Commit a49473c7 authored by Pierre Lalet's avatar Pierre Lalet Committed by GitHub
Browse files

Merge pull request #342 from p-l-/fix-tests

Travis CI: fix install & tests
parents 6831cab8 a9937bef
No related branches found
No related tags found
No related merge requests found
# Install dependencies using pip
if [ -z $TRAVIS_SUDO ] && [ "$TRAVIS_OS_NAME" = "osx" ]
then
PIP_INSTALL_FLAGS="--user"
if [ -z "$TRAVIS_SUDO" -o "$TRAVIS_SUDO" = "false" ]
then
TRAVIS_SUDO=""
if [ "$TRAVIS_OS_NAME" = "osx" ]
then
PIP_INSTALL_FLAGS="--user"
fi
fi
$TRAVIS_SUDO pip install $PIP_INSTALL_FLAGS ecdsa mock
......
# Dump Scapy config
python -c "from scapy.all import *; print conf"
# Don't run tests that requires root privileges
if [ -z $TRAVIS_SUDO ]
# Don't run tests that require root privileges
if [ -z "$TRAVIS_SUDO" -o "$TRAVIS_SUDO" = "false" ]
then
UT_FLAGS="-K netaccess "
TRAVIS_SUDO=""
fi
# Test AEAD modes in IPSec if available
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment