Skip to content

Commit

Permalink
Merge pull request jpadilla#43 from mfonism/2020.01.27/update-support…
Browse files Browse the repository at this point in the history
…ed-python-versions

Drop Python versions 2.7 and 3.4; add version 3.8
  • Loading branch information
inglesp committed Jan 27, 2020
2 parents 16489eb + b1d96ae commit c68fd4b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 20 deletions.
13 changes: 3 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
# This is required to get Travis to run Python 3.7
# https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-425720905
sudo: required
dist: xenial

language: python

install:
- pip install tox

matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
- python: 3.7
- python: 3.8
env: TOXENV=py38
- python: 3.8
env: TOXENV=flake8

script:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ django-dotenv
Original implementation was written by
`@jacobian <https://github.com/jacobian>`__.

Tested on Python 2.7, 3.4, 3.5, 3.6, and 3.7.
Tested on Python 3.5, 3.6, 3.7 and 3.8.

Installation
------------
Expand Down
10 changes: 4 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
import sys
Expand Down Expand Up @@ -44,12 +43,11 @@ def get_version(module):
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Internet :: WWW/HTTP',
]
)
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
[tox]
envlist =
flake8,
py27,
py34,
py35,
py36,
py37,
py38,

[testenv]
commands = python setup.py test

[testenv:flake8]
deps = flake8==2.4.0
deps = flake8
commands = flake8 dotenv.py --verbose

0 comments on commit c68fd4b

Please sign in to comment.