diff options
author | Ilya Etingof <etingof@gmail.com> | 2020-03-22 15:00:38 +0100 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2020-03-22 15:00:38 +0100 |
commit | 56803b64c61d3055e0e79e7a3774ad7375b227b2 (patch) | |
tree | 96ae0f5b2e7a0cdb86fb771588e706bbe61af1ca | |
parent | 766357e5acc8169eb47d1d878538cf79ca6c38a8 (diff) | |
download | pysnmp-git-56803b64c61d3055e0e79e7a3774ad7375b227b2.tar.gz |
Install SNMP MIBs in Travis job
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | tests/functional/runtests.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 5b66bea3..15176ff8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ language: python os: linux arch: arm64 dist: bionic +before_install: + - sudo apt-get -y install snmp snmp-mibs-downloader && sed -i 's/mibs :/# mibs :/g' /etc/snmp/snmp.conf matrix: include: - python: '2.7' diff --git a/tests/functional/runtests.sh b/tests/functional/runtests.sh index c412bcf0..1b5e81fd 100755 --- a/tests/functional/runtests.sh +++ b/tests/functional/runtests.sh @@ -51,6 +51,8 @@ function cleanup() trap cleanup EXIT +sleep 5 + PYTHON=${1:-python} for x in examples/hlapi/asyncore/sync/manager/cmdgen/*.py \ |