Skip to content

Commit

Permalink
Update Django and Python versions in Travis config (un33k#31)
Browse files Browse the repository at this point in the history
* Add Python 3.6 and 3.7-dev to the testing matrix. Remove Python 3.3. Add support for Django 2.x.

* Add Python 3.6 to setup classifiers.

* Use range for Django 2.0 (pypy on Travis can't find Django 2.0.1).

* Add pypy3 to Python versions and disable Django 2.0 testing on pypy.

* style: remove unused import
  • Loading branch information
illagrenan authored and un33k committed Jan 6, 2018
1 parent a2dcca4 commit fc714cc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@ sudo: false
language: python

python:
- "3.7-dev"
- "3.6"
- "3.5"
- "3.4"
- "3.3"
- "2.7"
- pypy
- "pypy"
- "pypy3"

env:
- DJANGO="django==1.10.2"
- DJANGO="django==1.9.10"
- DJANGO="django==1.8.15"
- DJANGO="django==2.0.1"
- DJANGO="django==1.11.9"
- DJANGO="django==1.8.18"

install:
- pip install $DJANGO
Expand All @@ -26,10 +28,10 @@ before_script:

matrix:
exclude:
- python: "3.3"
env: DJANGO="django==1.9.10"
- python: "3.3"
env: DJANGO="django==1.10.2"
- python: "2.7"
env: DJANGO="django==2.0.1"
- python: "pypy"
env: DJANGO="django==2.0.1"

script: coverage run --source=ipware manage.py test

Expand Down
1 change: 0 additions & 1 deletion ipware/apps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from django.apps import apps
from django.apps import AppConfig as DjangoAppConfig
from django.utils.translation import ugettext_lazy as _

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities'
]

Expand Down

0 comments on commit fc714cc

Please sign in to comment.