1language: python 2 3matrix: 4 include: 5 # Run as a regular user 6 - os: linux 7 python: 2.7 8 env: 9 - SCAPY_COVERAGE=yes 10 11 - os: linux 12 python: 3.3 13 env: 14 - SCAPY_COVERAGE=yes 15 16 - os: linux 17 python: 3.4 18 env: 19 - SCAPY_COVERAGE=yes 20 21 - os: linux 22 python: 3.5 23 env: 24 - SCAPY_COVERAGE=yes 25 26 - os: linux 27 python: 3.6 28 env: 29 - SCAPY_COVERAGE=yes 30 31 - os: linux 32 python: pypy 33 env: 34 - SCAPY_COVERAGE=yes 35 36 - os: osx 37 language: generic 38 env: 39 - SCAPY_COVERAGE=yes 40 41 - os: osx 42 language: generic 43 env: 44 - SCAPY_USE_PCAPDNET=yes SCAPY_COVERAGE=yes 45 46 # Run as root 47 - os: linux 48 sudo: required 49 python: 2.7 50 env: 51 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes 52 53 - os: linux 54 sudo: required 55 python: 3.3 56 env: 57 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes 58 59 - os: linux 60 sudo: required 61 python: 3.4 62 env: 63 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes 64 65 - os: linux 66 sudo: required 67 python: 3.5 68 env: 69 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes 70 71 - os: linux 72 sudo: required 73 python: 3.6 74 env: 75 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes 76 77 - os: linux 78 sudo: required 79 python: 2.7 80 virtualenv: 81 system_site_packages: true 82 env: 83 - SCAPY_SUDO=sudo SCAPY_USE_PCAPDNET=yes SCAPY_COVERAGE=yes 84 85 - os: osx 86 language: generic 87 env: 88 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes 89 90 - os: osx 91 language: generic 92 env: 93 - SCAPY_SUDO=sudo SCAPY_USE_PCAPDNET=yes SCAPY_COVERAGE=yes 94 95install: bash .travis/install.sh 96 97script: bash .travis/test.sh 98