Home | History | Annotate | Download | only in .travis

Lines Matching refs:Python

3 python -c 'import sys; print("sys.path:" , sys.path)'
6 python -c 'import '$DEPENDENCY'; print("'$DEPENDENCY': "+str(getattr('$DEPENDENCY', "__version__", "no __version__ attribute")))'
15 python --version
16 python -c "from scapy.all import *; print(conf)"
38 if python --version 2>&1 | grep -q PyPy
44 if python --version 2>&1 | grep -q '^Python 3\.'
46 # Some Python 3 tests currently fail. They should be tracked and
51 if python --version 2>&1 | grep -q '^Python 3\.[012345]'
53 # Python 3 < 3.6 has weird behavior with random.seed()
57 if python --version 2>&1 | grep -q '^Python 3\.[0123]'
59 # cryptography with Python 3 < 3.4 requires 3.3.7, Travis provides 3.3.6
64 ## /Users/travis/Library/Python/2.7/bin: pip when non-root on osx
65 for _path in /sbin /usr/sbin /usr/local/sbin /Users/travis/Library/Python/2.7/bin; do
69 # Create a fake Python executable
72 echo '#!/bin/bash' > test/python
73 echo "[ \"\$*\" = \"--version\" ] && echo \"`python --version`\" && exit 0" >> test/python
74 echo "`which coverage` run --rcfile=../.coveragerc --concurrency=multiprocessing -a \$*" >> test/python
75 chmod +x test/python
77 # Copy the fake Python interpreter to bypass /etc/sudoers rules on Ubuntu
80 $SCAPY_SUDO cp test/python /usr/local/sbin/
81 PYTHON=/usr/local/sbin/python
84 PYTHON="`pwd`/test/python"
87 PYTHON="`which python`"
109 PYTHON="$PYTHON" $SCAPY_SUDO ./run_tests -q -F -t bpf.uts $UT_FLAGS || exit $?
120 PYTHON="$PYTHON" $SCAPY_SUDO ./run_tests -c ./configs/travis.utsc -T "bpf.uts" -T "mock_windows.uts" $UT_FLAGS || exit $?
126 PYTHON="$PYTHON" $SCAPY_SUDO ./run_tests -q -F -t tls/tests_tls_netaccess.uts $UT_FLAGS || exit $?