File tree Expand file tree Collapse file tree 4 files changed +41
-0
lines changed
Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ .tox /
2+ build /
3+ dist /
4+ * .so
5+ * .pyc
6+ * .py0
7+ __pycache__
Original file line number Diff line number Diff line change 1+ language : python
2+ python :
3+ - ' 2.7'
4+ - ' 3.5'
5+ - ' 3.6'
6+ dist : trusty
7+ addons :
8+ apt :
9+ packages :
10+ - libc6-dev
11+ - libnl-3-dev
12+ - libnl-route-3-dev
13+ - valgrind
14+ cache :
15+ directories :
16+ - $HOME/.cache/pip
17+ - $HOME/virtualenv/python$TRAVIS_PYTHON_VERSION/lib/python$TRAVIS_PYTHON_VERSION/site-packages
18+ - $HOME/virtualenv/python$TRAVIS_PYTHON_VERSION/bin
19+ notifications :
20+ email : false
21+ install : pip install --upgrade tox tox-travis
22+ script : tox
Original file line number Diff line number Diff line change 2828#include <sys/types.h>
2929#include <ifaddrs.h>
3030#include <netlink/route/addr.h>
31+ #if !defined IFF_UP
3132#include <net/if.h>
33+ #endif
3234
3335#include "etherinfo_struct.h"
3436#include "etherinfo_obj.h"
Original file line number Diff line number Diff line change 1+ [tox]
2+ envlist = py27,py35,py36
3+ [testenv]
4+ whitelist_externals = valgrind
5+ commands =
6+ python tests/parse_ifconfig.py -v
7+ python -m unittest discover -v
8+ valgrind --leak-check =full python tests/test_ethtool.py
9+ # Run all the above commands, don't worry it reports failure anyway
10+ ignore_errors = True
You can’t perform that action at this time.
0 commit comments