Skip to content

Commit

Permalink
Merge pull request #127 from emmanvg/drop-py-versions
Browse files Browse the repository at this point in the history
Drop Python versions older than 3.5
  • Loading branch information
emmanvg authored Jul 2, 2020
2 parents bc3ab47 + 01f3c66 commit 25666e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
os: linux
dist: bionic
language: python
cache: pip
services:
- mongodb
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
Expand All @@ -14,10 +12,10 @@ install:
- pip install -U pip setuptools
- pip install tox-travis
- pip install codecov
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then pip install pre-commit; fi
- pip install pre-commit
script:
- tox
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then pre-commit run --all-files; fi
- pre-commit run --all-files
after_success:
- codecov
before_script:
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ def get_long_description():
"Intended Audience :: Developers",
"Topic :: Security",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,py37,py38,pycodestyle,isort-check,packaging
envlist = py35,py36,py37,py38,pycodestyle,isort-check,packaging

[testenv]
deps =
Expand Down Expand Up @@ -42,8 +42,6 @@ commands =

[travis]
python =
2.7: py27, pycodestyle
3.4: py34, pycodestyle
3.5: py35, pycodestyle
3.6: py36, pycodestyle, isort-check, packaging
3.7: py37, pycodestyle
Expand Down

0 comments on commit 25666e8

Please sign in to comment.