Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Commit 7b7b29f

Browse files
author
Sandro Rodrigues
committed
Added django19 unit test support
1 parent 2117acb commit 7b7b29f

File tree

7 files changed

+21
-20
lines changed

7 files changed

+21
-20
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ python:
99

1010
env:
1111
matrix:
12+
- django19
1213
- django110
1314
- django111
1415
- djangomaster
@@ -22,7 +23,9 @@ matrix:
2223
- python: "2.7"
2324
env: djangomaster
2425
- python: "3.6"
25-
env: django110
26+
env: django19
27+
- python: "3.6"
28+
env: django111
2629
allow_failures:
2730
- env: djangomaster
2831

AUTHORS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
We'd like to thank the following people for their contributions.
44

5-
- Paulo Truta <jpt@eurotux.com>
65
- Sandro Rodrigues <srtabs@gmail.com>
76
- Tiago Brito <tfb@eurotux.com>
87
- Tiago Loureiro <tiagocostaloureiro@gmail.com>
8+
- Paulo Truta

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## 0.1.0 - 2017-09-13
7+
## [0.1.1] - 2017-09-13
8+
### Added
9+
- Support to python 3.4, 3.5 and 3.6 and django 1.9, 1.10 and 1.11.
10+
11+
## [0.1.0] - 2017-09-13
812
- First release on PyPi

MANIFEST.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
include AUTHORS.md
2+
include CHANGELOG.md
3+
include CODE_OF_CONDUCT.md
14
include LICENSE
2-
include README.md
5+
include MANIFEST.in
6+
include README.rst
37
recursive-include ajax_cbv/static *

ajax_cbv/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
default_app_config = 'ajax_cbv.apps.AjaxCBVConfig'
66

7-
__version__ = '0.1.0'
7+
__version__ = '0.1.1'

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ class DevelopmentPublishCommand(PublishCommand):
8383
classifiers=[
8484
'Environment :: Web Environment',
8585
'Framework :: Django',
86+
'Framework :: Django :: 1.9',
8687
'Framework :: Django :: 1.10',
8788
'Framework :: Django :: 1.11',
8889
'Intended Audience :: Developers',

tox.ini

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[tox]
22
skipsdist = True
33
envlist =
4-
{py27,py34,py35}-django{110,111},
5-
{py35,py36}-django{111,master}
4+
py{27,34,35}-django{19,110,111},
5+
py{35,36}-django{111,master}
66
flake8
77

88
[testenv]
99
deps =
1010
coverage
1111
mock >= 2.0.0
12+
django19: Django>=1.9,<1.10
1213
django110: Django>=1.10,<1.11
1314
django111: Django>=1.11,<2.0
1415
djangomaster: https://github.com/django/django/archive/master.tar.gz
@@ -19,16 +20,4 @@ commands=
1920

2021
[testenv:flake8]
2122
deps = flake8
22-
commands = flake8 {toxinidir}/ajax_cbv --exclude=*/migrations/*
23-
24-
[testenv:coverage]
25-
deps=
26-
-r{toxinidir}/requirements/tests.txt
27-
coverage
28-
basepython=python2.7
29-
setenv=
30-
PYTHONWARNINGS=ignore
31-
commands=
32-
coverage run runtests.py {posargs:}
33-
coverage report
34-
coverage erase
23+
commands = flake8 {toxinidir}/ajax_cbv

0 commit comments

Comments
 (0)