Skip to content

Commit

Permalink
Revert "Activates testing for python2 again."
Browse files Browse the repository at this point in the history
This reverts commit 4795213.
  • Loading branch information
jloehel committed Sep 27, 2020
1 parent e8d569b commit 8cb94ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ language: python
cache: pip

python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
Expand Down
16 changes: 1 addition & 15 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[tox]
skip_missing_interpreters = true
envlist =
docs,py27,py36,py37,py38,pypy3
docs,py36,py37,py38,pypy3

logstash_async_modules = logstash_async tests

Expand All @@ -23,20 +23,6 @@ commands =
# unit tests
{envbindir}/python -m unittest discover --start-directory tests --pattern '*_test.py'

[testenv:py27]
# same as above except for skipping PyLint on Python 2.7 as there are different,
# probably false-positive errors and tricky requirement of old PyLint version
# for Python 2.7.
deps =
flake8
isort
commands =
# linting and code analysis
{envbindir}/flake8 {[tox]logstash_async_modules}
{envbindir}/isort --check-only --diff --recursive {[tox]logstash_async_modules}
# unit tests
{envbindir}/python -m unittest discover --start-directory tests --pattern '*_test.py'

[testenv:docs]
basepython = python3
deps =
Expand Down

0 comments on commit 8cb94ca

Please sign in to comment.