summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2020-03-22 15:46:38 +0100
committerIlya Etingof <etingof@gmail.com>2020-03-22 15:47:37 +0100
commit3de84e62ae6d73584bdd8dea6284656a227d7ae8 (patch)
treebabadfde760cf2752c6590d5328feaf2cd997a5b
parentc6a06f6b534e9cf2f0b0b86fd60ac436a6b3afff (diff)
downloadpysnmp-git-3de84e62ae6d73584bdd8dea6284656a227d7ae8.tar.gz
Deduplicate tox jobs in Travis
Run just one job per Python version in Travis. Also lower minimal tox requirement.
-rw-r--r--.travis.yml8
-rw-r--r--tox.ini4
2 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 49948b71..595fcea0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,13 +7,17 @@ before_install:
matrix:
include:
- python: '2.7'
- - python: '3.4'
+ env: TOXENV=py27-functest
- python: '3.5'
+ env: TOXENV=py35-functest
- python: '3.6'
+ env: TOXENV=py36-functest
- python: '3.7'
+ env: TOXENV=py37-functest,docs,build
- python: '3.8'
- - python: 'pypy'
+ env: TOXENV=py38-functest
- python: 'pypy3'
+ env: TOXENV=pypy3-functest
install:
- pip install tox
script:
diff --git a/tox.ini b/tox.ini
index b20c1f79..fb3f9a2f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
-deps = pip >= 19.3.1
+deps = pip >= 19.1.1
install_command =
pip install {opts} {packages}
@@ -26,7 +26,7 @@ deps =
{[testenv:testbench]deps}
snmpsim<1.0.0
commands =
- {toxinidir}/tests/functional/runtests.sh {envpython}
+ {toxinidir}/tests/functional/runtests.sh {envpython} > /dev/null
[testenv:py26-functest]
deps = {[testenv:simulator]deps}