Skip to content

Commit

Permalink
Update python & Django support (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
remik committed Jul 10, 2019
1 parent ac0bcfb commit 07f8d10
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 23 deletions.
23 changes: 11 additions & 12 deletions .travis.yml
@@ -1,11 +1,15 @@
sudo: false

language: python

python:
- "3.4"
- "3.5"
- "3.6"
matrix:
include:
- python: 3.5
dist: trusty
sudo: false
- python: 3.6
dist: trusty
sudo: false
- python: 3.7
dist: xenial
sudo: true

install:
- pip install tox tox-travis coverage coveralls
Expand All @@ -16,8 +20,3 @@ script:
after_success:
- coverage report -m
- coveralls

notifications:
email:
recipients:
- team@arabel.la
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -75,10 +75,9 @@ def get_package_data(package):
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP",
]
)
15 changes: 6 additions & 9 deletions tox.ini
@@ -1,9 +1,9 @@
[tox]
downloadcache = {toxworkdir}/cache/
envlist =
py36-lint
py{34,35,36}-django{111}
py36-djangomaster
py37-lint
py{35,36,37}-django{111}
py{36,37}-django{210}

[testenv]
commands = python runtests.py --fast --coverage
Expand All @@ -12,17 +12,14 @@ setenv =
PYTHONWARNINGS=once
deps =
django111: Django>=1.11,<2.0
djangomaster: https://github.com/django/django/archive/master.tar.gz
django210: Django>=2.1,<2.2
setuptools>=17.1
-rrequirements.txt
basepython =
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7

[testenv:py36-djangomaster]
commands = - python runtests.py --fast

[testenv:py36-lint]
[testenv:py37-lint]
commands = python runtests.py --lintonly

0 comments on commit 07f8d10

Please sign in to comment.