Mark test envs only by version

This commit is contained in:
Luke Murphy 2019-10-06 15:29:05 +02:00
parent 398000789c
commit 1538406c60
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 5 additions and 9 deletions

View File

@ -3,9 +3,9 @@ language: python
matrix: matrix:
include: include:
- python: 3.6 - python: 3.6
env: TOXENV=py36-test env: TOXENV=py36
- python: 3.7 - python: 3.7
env: TOXENV=py37-test env: TOXENV=py37
- python: 3.7 - python: 3.7
env: TOXENV=lint env: TOXENV=lint
- python: 3.7 - python: 3.7

View File

@ -1,20 +1,16 @@
Get started Get started
----------- -----------
Install `Tox`_ with: Install `Tox`_.
.. _tox: http://tox.readthedocs.io/ .. _tox: http://tox.readthedocs.io/
.. code-block:: bash
$ pip install --user tox
Run tests Run tests
--------- ---------
.. code-block:: bash .. code-block:: bash
tox -e test tox -e py37
Lint source Lint source
----------- -----------

View File

@ -1,6 +1,6 @@
[tox] [tox]
envlist = envlist =
{py36,py37}-test {py36,py37}
lint lint
sort sort
format format