Skip to content

Commit 986fef0

Browse files
committed
Use tox on Travis CI
1 parent 37900e8 commit 986fef0

File tree

4 files changed

+19
-60
lines changed

4 files changed

+19
-60
lines changed

.travis.yml

Lines changed: 5 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,14 @@
1-
# We do not use sudo
21
sudo: false
3-
4-
# Python versions for matrix
52
language: python
6-
python:
7-
- "2.7"
8-
- "3.2"
9-
- "3.3"
10-
- "3.4"
11-
- "3.5"
12-
- "3.6"
133

14-
# Django versions for matrix
15-
env:
16-
- DJANGO_VERSION='>=1.8,<1.9'
17-
- DJANGO_VERSION='>=1.9,<1.10'
18-
- DJANGO_VERSION='>=1.10,<1.11'
19-
- DJANGO_VERSION='>=1.11,<1.12'
4+
python:
5+
- "2.7"
206

21-
# Command to install dependencies, e.g. pip install -r requirements.txt
227
install:
23-
- pip install Django$DJANGO_VERSION
24-
# Coverage 4.0 no longer supports py32. Install an older version before
25-
# coveralls tries to install the latest
26-
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then travis_retry pip install 'coverage<4.0'; fi
27-
- pip install coveralls
8+
- pip install tox-travis coveralls
289

29-
# Command to run tests, e.g. python setup.py test
3010
script:
31-
- coverage run --source=bootstrap3 manage.py test
32-
33-
matrix:
34-
exclude:
35-
- python: "3.2"
36-
env: DJANGO_VERSION='>=1.9,<1.10'
37-
- python: "3.2"
38-
env: DJANGO_VERSION='>=1.10,<1.11'
39-
- python: "3.2"
40-
env: DJANGO_VERSION='>=1.11,<1.12'
41-
- python: "3.3"
42-
env: DJANGO_VERSION='>=1.9,<1.10'
43-
- python: "3.3"
44-
env: DJANGO_VERSION='>=1.10,<1.11'
45-
- python: "3.3"
46-
env: DJANGO_VERSION='>=1.11,<1.12'
11+
- tox
4712

48-
# Report to coveralls
4913
after_success:
50-
- coveralls
14+
- coveralls

HISTORY.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ History
44
-------
55

66

7+
Development (unreleased)
8+
++++++++++++++++++++++++
9+
10+
* Fix invalid HTML in help texts (thanks @luksen)
11+
* Added `mark_safe` to placeholder (thanks @ppo)
12+
* Add unicode test for help_text
13+
14+
715
8.2.2 (2017-04-03)
816
+++++++++++++++++
917

File renamed without changes.

tox.ini

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,16 @@
66
[tox]
77
minversion=1.8.0
88
envlist =
9-
py27-django18,
10-
py27-django19,
11-
py27-django110,
12-
py27-django111,
13-
14-
py33-django18,
15-
16-
py34-django18,
17-
py34-django19,
18-
py34-django110,
19-
py34-django111,
20-
21-
py35-django19,
22-
py35-django110,
23-
py35-django111,
24-
25-
py36-django110,
26-
py36-django111
9+
{py27}-django{18,19,110,111}
10+
{py33}-django{18}
11+
{py34}-django{18,19,110,111}
12+
{py35}-django{19,110,111}
13+
{py36}-django{110,111}
2714

2815
[testenv]
2916
commands = python manage.py test
3017
deps =
3118
django18: Django>=1.8,<1.9
3219
django19: Django>=1.9,<1.10
3320
django110: Django>=1.10,<1.11
34-
django111: Django>=1.11b1,<2.0
21+
django111: Django>=1.11,<2.0

0 commit comments

Comments
 (0)