Update CI to test against latest pytest release
This commit is contained in:
@@ -21,8 +21,7 @@ env:
|
|||||||
- TOXENV=py-pytest31
|
- TOXENV=py-pytest31
|
||||||
- TOXENV=py-pytest32
|
- TOXENV=py-pytest32
|
||||||
- TOXENV=py-pytest33
|
- TOXENV=py-pytest33
|
||||||
- TOXENV=py-pytest36
|
- TOXENV=py-pytestlatest
|
||||||
- TOXENV=py-pytest38
|
|
||||||
|
|
||||||
install: pip install tox setuptools_scm
|
install: pip install tox setuptools_scm
|
||||||
script: tox
|
script: tox
|
||||||
|
|||||||
@@ -5,8 +5,7 @@ environment:
|
|||||||
- TOXENV: "py34-pytest33"
|
- TOXENV: "py34-pytest33"
|
||||||
- TOXENV: "py35-pytest33"
|
- TOXENV: "py35-pytest33"
|
||||||
- TOXENV: "py36-pytest33"
|
- TOXENV: "py36-pytest33"
|
||||||
- TOXENV: "py36-pytest36"
|
- TOXENV: "py36-pytestlatest"
|
||||||
- TOXENV: "py36-pytest38"
|
|
||||||
- TOXENV: "py27-pytest33-pexpect"
|
- TOXENV: "py27-pytest33-pexpect"
|
||||||
- TOXENV: "py36-pytest33-pexpect"
|
- TOXENV: "py36-pytest33-pexpect"
|
||||||
|
|
||||||
|
|||||||
7
tox.ini
7
tox.ini
@@ -2,7 +2,7 @@
|
|||||||
# if you change the envlist, please update .travis.yml file as well
|
# if you change the envlist, please update .travis.yml file as well
|
||||||
envlist=
|
envlist=
|
||||||
linting
|
linting
|
||||||
py{27,34,35,36}-pytest{30,31,32,33,36,38}
|
py{27,34,35,36}-pytest{30,31,32,33,latest}
|
||||||
py{27,36}-pytest36-pexpect
|
py{27,36}-pytest36-pexpect
|
||||||
py{27,36}-pytest{master,features}
|
py{27,36}-pytest{master,features}
|
||||||
|
|
||||||
@@ -18,8 +18,7 @@ deps =
|
|||||||
pytest31: pytest~=3.1.0
|
pytest31: pytest~=3.1.0
|
||||||
pytest32: pytest~=3.2.0
|
pytest32: pytest~=3.2.0
|
||||||
pytest33: pytest~=3.3.0
|
pytest33: pytest~=3.3.0
|
||||||
pytest36: pytest~=3.6.0
|
pytestlatest: pytest
|
||||||
pytest38: pytest~=3.8.0
|
|
||||||
pytestmaster: git+https://github.com/pytest-dev/pytest.git@master
|
pytestmaster: git+https://github.com/pytest-dev/pytest.git@master
|
||||||
pytestfeatures: git+https://github.com/pytest-dev/pytest.git@features
|
pytestfeatures: git+https://github.com/pytest-dev/pytest.git@features
|
||||||
pexpect: pexpect
|
pexpect: pexpect
|
||||||
@@ -27,8 +26,6 @@ deps =
|
|||||||
platform=
|
platform=
|
||||||
pexpect: linux|darwin
|
pexpect: linux|darwin
|
||||||
commands=
|
commands=
|
||||||
# always clean to avoid code unmarshal mismatch on old python/pytest
|
|
||||||
py.cleanup -aq
|
|
||||||
pytest {posargs}
|
pytest {posargs}
|
||||||
|
|
||||||
[testenv:linting]
|
[testenv:linting]
|
||||||
|
|||||||
Reference in New Issue
Block a user