use correct interface
@@ -15,8 +15,7 @@ jobs:
script: docker build -f Dockerfile.base -t cyberreboot/poseidonml:base . && docker build -f Dockerfile.test -t poseidonml-test . && docker run -it poseidonml-test
- script: find . -name requirements.txt -type f -exec pip3 install -r {} \; && pip3 uninstall -y poseidonml && pip3 install . && pytest -l -s -v --cov=tests/ --cov=utils/ --cov=DeviceClassifier/ --cov-report term-missing -c .coveragerc
before_install:
- - ifconfig -a
- - sudo tcpdump -i eth0 -w /home/travis/build/$TRAVIS_REPO_SLUG/tests/test.pcap &
+ - sudo tcpdump -i ens4 -w /home/travis/build/$TRAVIS_REPO_SLUG/tests/test.pcap &
- sudo apt-get update
- sudo apt-get install docker-ce
- sudo pkill tcpdump
