Skip to content

Commit afabe0e

Browse files
author
Michael Kelly
committed
Update version specifiers in tox.ini and .travis.yml.
1 parent 37bf6d4 commit afabe0e

File tree

2 files changed

+27
-28
lines changed

2 files changed

+27
-28
lines changed

.travis.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,32 @@ language: python
22
python:
33
- 2.6
44
- 2.7
5-
65
env:
7-
- DJANGO_VERSION=1.4.8
8-
- DJANGO_VERSION=1.5.4
9-
- DJANGO_VERSION=1.6
10-
- DJANGO_VERSION=1.7
6+
- 'DJANGO_VERSION=">= 1.4, <1.5"'
7+
- 'DJANGO_VERSION=">= 1.5, <1.6"'
8+
- 'DJANGO_VERSION=">= 1.6, <1.7"'
9+
- 'DJANGO_VERSION=">= 1.7, <1.8"'
1110
matrix:
1211
include:
1312
- python: 3.2
14-
env: DJANGO_VERSION=1.5.4
13+
env: 'DJANGO_VERSION=">= 1.5, <1.6"'
1514
- python: 3.3
16-
env: DJANGO_VERSION=1.5.4
15+
env: 'DJANGO_VERSION=">= 1.5, <1.6"'
1716
- python: 3.2
18-
env: DJANGO_VERSION=1.6
17+
env: 'DJANGO_VERSION=">= 1.6, <1.7"'
1918
- python: 3.3
20-
env: DJANGO_VERSION=1.6
19+
env: 'DJANGO_VERSION=">= 1.6, <1.7"'
2120
- python: 3.2
22-
env: DJANGO_VERSION=1.7.4
21+
env: 'DJANGO_VERSION=">= 1.7, <1.8"'
2322
- python: 3.3
24-
env: DJANGO_VERSION=1.7.4
23+
env: 'DJANGO_VERSION=">= 1.7, <1.8"'
2524
- python: 3.4
26-
env: DJANGO_VERSION=1.7.4
25+
env: 'DJANGO_VERSION=">= 1.7, <1.8"'
2726
exclude:
2827
- python: 2.6
29-
env: DJANGO_VERSION=1.7.4
28+
env: 'DJANGO_VERSION=">= 1.7, <1.8"'
3029
install:
3130
- pip install django-nose
32-
- pip install django==${DJANGO_VERSION}
31+
- pip install "django${DJANGO_VERSION}"
3332
- pip install -r requirements.txt --use-mirrors
3433
script: python setup.py test

tox.ini

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,84 +8,84 @@ envlist = py26_dj14, py27_dj14, py26_dj15, py27_dj15, py32_dj15, py33_dj15, py26
88

99
[testenv:py26_dj14]
1010
basepython = python2.6
11-
commands = pip install django<1.5
11+
commands = pip install 'django>= 1.4, <1.5'
1212
pip install -r requirements.txt
1313
{envpython} setup.py test
1414

1515
[testenv:py27_dj14]
1616
basepython = python2.7
17-
commands = pip install django<1.5
17+
commands = pip install 'django>= 1.4, <1.5'
1818
pip install -r requirements.txt
1919
{envpython} setup.py test
2020

2121
[testenv:py26_dj15]
2222
basepython = python2.6
23-
commands = pip install django<1.6
23+
commands = pip install 'django>= 1.5, <1.6'
2424
pip install -r requirements.txt
2525
{envpython} setup.py test
2626

2727
[testenv:py27_dj15]
2828
basepython = python2.7
29-
commands = pip install django<1.6
29+
commands = pip install 'django>= 1.5, <1.6'
3030
pip install -r requirements.txt
3131
{envpython} setup.py test
3232

3333
[testenv:py32_dj15]
3434
basepython = python3.2
35-
commands = pip install django<1.6
35+
commands = pip install 'django>= 1.5, <1.6'
3636
pip install -r requirements.txt
3737
{envpython} setup.py test
3838

3939
[testenv:py33_dj15]
4040
basepython = python3.3
41-
commands = pip install django<1.6
41+
commands = pip install 'django>= 1.5, <1.6'
4242
pip install -r requirements.txt
4343
{envpython} setup.py test
4444

4545
[testenv:py26_dj16]
4646
basepython = python2.6
47-
commands = pip install django==1.6
47+
commands = pip install 'django>= 1.6, <1.7'
4848
pip install -r requirements.txt
4949
{envpython} setup.py test
5050

5151
[testenv:py27_dj16]
5252
basepython = python2.7
53-
commands = pip install django==1.6
53+
commands = pip install 'django>= 1.6, <1.7'
5454
pip install -r requirements.txt
5555
{envpython} setup.py test
5656

5757
[testenv:py32_dj16]
5858
basepython = python3.2
59-
commands = pip install django==1.6
59+
commands = pip install 'django>= 1.6, <1.7'
6060
pip install -r requirements.txt
6161
{envpython} setup.py test
6262

6363
[testenv:py33_dj16]
6464
basepython = python3.3
65-
commands = pip install django==1.6
65+
commands = pip install 'django>= 1.6, <1.7'
6666
pip install -r requirements.txt
6767
{envpython} setup.py test
6868

6969
[testenv:py27_dj17]
7070
basepython = python2.7
71-
commands = pip install django==1.7
71+
commands = pip install 'django>= 1.7, <1.8'
7272
pip install -r requirements.txt
7373
{envpython} setup.py test
7474

7575
[testenv:py32_dj17]
7676
basepython = python3.2
77-
commands = pip install django==1.7
77+
commands = pip install 'django>= 1.7, <1.8'
7878
pip install -r requirements.txt
7979
{envpython} setup.py test
8080

8181
[testenv:py33_dj17]
8282
basepython = python3.3
83-
commands = pip install django==1.7
83+
commands = pip install 'django>= 1.7, <1.8'
8484
pip install -r requirements.txt
8585
{envpython} setup.py test
8686

8787
[testenv:py34_dj17]
8888
basepython = python3.4
89-
commands = pip install django==1.7
89+
commands = pip install 'django>= 1.7, <1.8'
9090
pip install -r requirements.txt
9191
{envpython} setup.py test

0 commit comments

Comments
 (0)