Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Commit 3e16fc7

Browse files
committed
Test TravisCI and Tox setup
1 parent 0bc4a93 commit 3e16fc7

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

.travis.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
language: python
22

3-
python:
4-
- "2.6"
5-
- "2.7"
6-
- "3.2"
7-
- "3.3"
8-
93
env:
104
- DJANGO="django==1.6"
115
- DJANGO="django==1.5.5"
126
- DJANGO="django==1.4.10"
137
- DJANGO="django==1.3.7"
148

15-
install:
16-
- pip install -r requirements.txt
9+
install: pip install tox --use-mirrors
1710

18-
script:
19-
- python setup.py test
11+
script: tox
2012

2113
matrix:
2214
exclude:

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[tox]
2-
envlist = py27
2+
envlist = py26, py27, py32, py33
33

44
[testenv]
55
deps = -rrequirements.txt
66
django-oauth2-provider
7-
commands = {envpython} rest_framework_jwt/runtests/runtests.py
8-
7+
commands = {envpython} setup.py test

0 commit comments

Comments
 (0)