language: python sudo: required matrix: include: - dist: trusty python: 2.7 env: dist="14.04 LTS trusty" - dist: trusty python: 3.6 env: dist="14.04 LTS trusty" before_install: - sudo apt-get update -qq - sudo apt-get install -qq vlan - PYTHON=`which python` util/install.sh -n install: - bash -c "if [ `lsb_release -rs` == '14.04' ]; then make codecheck; fi" - pip install pexpect || pip3 install pexpect - util/install.sh -nfvw script: - alias sudo="sudo env PATH=$PATH" - export PYTHON=`which python` - echo 'px import sys; print(sys.version_info)' | sudo $PYTHON bin/mn -v output - sudo $PYTHON bin/mn --test pingall - sudo $PYTHON mininet/test/runner.py -v -quick - sudo $PYTHON examples/test/runner.py -v -quick notifications: email: on_success: never # More details: https://docs.travis-ci.com/user/notifications