Pierre LALET | 064203b | 2016-01-12 11:36:39 +0100 | [diff] [blame] | 1 | language: python |
| 2 | |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 3 | matrix: |
| 4 | include: |
| 5 | # Run as a regular user |
| 6 | - os: linux |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 7 | python: 2.7 |
Pierre LALET | ec80e35 | 2017-10-03 13:32:32 +0200 | [diff] [blame] | 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 |
Pierre LALET | 064203b | 2016-01-12 11:36:39 +0100 | [diff] [blame] | 30 | |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 31 | - os: linux |
| 32 | python: pypy |
Pierre LALET | 5d39578 | 2017-12-27 22:51:31 +0100 | [diff] [blame] | 33 | env: |
| 34 | - SCAPY_COVERAGE=yes |
Guillaume Valadon | 35f97ef | 2016-12-02 08:07:09 +0100 | [diff] [blame] | 35 | |
| 36 | - os: osx |
| 37 | language: generic |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 38 | env: |
Pierre LALET | 5d39578 | 2017-12-27 22:51:31 +0100 | [diff] [blame] | 39 | - SCAPY_COVERAGE=yes |
| 40 | |
| 41 | - os: osx |
| 42 | language: generic |
| 43 | env: |
| 44 | - SCAPY_USE_PCAPDNET=yes SCAPY_COVERAGE=yes |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 45 | |
| 46 | # Run as root |
| 47 | - os: linux |
| 48 | sudo: required |
| 49 | python: 2.7 |
| 50 | env: |
Pierre LALET | ec80e35 | 2017-10-03 13:32:32 +0200 | [diff] [blame] | 51 | - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 52 | |
| 53 | - os: linux |
| 54 | sudo: required |
Pierre LALET | ec80e35 | 2017-10-03 13:32:32 +0200 | [diff] [blame] | 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 |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 74 | env: |
Pierre LALET | 6b8a0cd | 2017-01-04 13:53:52 +0100 | [diff] [blame] | 75 | - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 76 | |
Daniel Collins | 620f195 | 2016-10-26 01:03:37 -0700 | [diff] [blame] | 77 | - os: linux |
| 78 | sudo: required |
| 79 | python: 2.7 |
Guillaume Valadon | abe5cc9 | 2017-12-22 11:44:16 +0100 | [diff] [blame] | 80 | virtualenv: |
| 81 | system_site_packages: true |
Daniel Collins | 620f195 | 2016-10-26 01:03:37 -0700 | [diff] [blame] | 82 | env: |
Pierre LALET | ec80e35 | 2017-10-03 13:32:32 +0200 | [diff] [blame] | 83 | - SCAPY_SUDO=sudo SCAPY_USE_PCAPDNET=yes SCAPY_COVERAGE=yes |
| 84 | |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 85 | - os: osx |
| 86 | language: generic |
| 87 | env: |
Guillaume Valadon | 8fc77d5 | 2016-12-27 20:34:16 +0100 | [diff] [blame] | 88 | - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes |
Guillaume Valadon | 35f97ef | 2016-12-02 08:07:09 +0100 | [diff] [blame] | 89 | |
| 90 | - os: osx |
| 91 | language: generic |
| 92 | env: |
Guillaume Valadon | 8fc77d5 | 2016-12-27 20:34:16 +0100 | [diff] [blame] | 93 | - SCAPY_SUDO=sudo SCAPY_USE_PCAPDNET=yes SCAPY_COVERAGE=yes |
Guillaume Valadon | 6317ba0 | 2016-05-23 16:19:25 +0200 | [diff] [blame] | 94 | |
| 95 | install: bash .travis/install.sh |
| 96 | |
| 97 | script: bash .travis/test.sh |