Skip to content

Commit

Permalink
Add Django2.2 and Django3.0 releases to the travis tests.
Browse files Browse the repository at this point in the history
Add Python 3.8 to the tests.
  • Loading branch information
Luis Moreno committed May 29, 2020
1 parent b300136 commit 73a73d4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ env:
- DJANGO_VERSION=1.11
- DJANGO_VERSION=2.0
- DJANGO_VERSION=2.1
- DJANGO_VERSION=2.2b
- DJANGO_VERSION=2.2
- DJANGO_VERSION=3.0
- DJANGO_VERSION=master
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "pypy3.5"
install:
- if [[ $DJANGO_VERSION != master ]]; then pip install --pre -q "Django>=${DJANGO_VERSION},<${DJANGO_VERSION}.99"; fi
- if [[ $DJANGO_VERSION == master ]]; then pip install https://github.com/django/django/archive/master.tar.gz; fi
- pip install django-redis==4.10.0 flake8 python3-memcached>=1.51
- pip install django-redis>=4.10.0 flake8 python3-memcached>=1.51
script:
- ./run.sh test
- ./run.sh flake8
Expand All @@ -25,15 +27,23 @@ matrix:
- python: "3.4"
env: DJANGO_VERSION=2.1
- python: "3.4"
env: DJANGO_VERSION=2.2b
env: DJANGO_VERSION=2.2
- python: "3.4"
env: DJANGO_VERSION=3.0
- python: "3.4"
env: DJANGO_VERSION=master
- python: "3.5"
env: DJANGO_VERSION=3.0
- python: "3.5"
env: DJANGO_VERSION=master
- python: "pypy3.5"
env: DJANGO_VERSION=3.0
- python: "pypy3.5"
env: DJANGO_VERSION=master
allow_failures:
- python: "3.6"
env: DJANGO_VERSION=master
- python: "3.7"
env: DJANGO_VERSION=master
- python: "3.8"
env: DJANGO_VERSION=master
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,27 @@
url='https://github.com/jsocol/django-ratelimit',
license='Apache Software License',
packages=find_packages(exclude=['test_settings']),
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
python_requires='>=3.4',
include_package_data=True,
package_data={'': ['README.rst']},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'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',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
Expand Down

0 comments on commit 73a73d4

Please sign in to comment.