Use travis for travis

This commit is contained in:
James Socol 2016-05-30 11:48:23 -04:00
parent e0cc26553f
commit ec3aae7e1e
3 changed files with 16 additions and 13 deletions

View File

@ -1,15 +1,19 @@
language: python
sudo: false
python: 2.7
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
env:
- TOX_ENV=py27-1.7
- TOX_ENV=py27-1.8
- TOX_ENV=py33-1.7
- TOX_ENV=py33-1.8
- TOX_ENV=py34-1.7
- TOX_ENV=py34-1.8
- TOX_ENV=py35-1.8
- DJANGO_VERSION="1.7"
- DJANGO_VERSION="1.8"
matrix:
exclude:
- python: "3.5"
env: DJANGO_VERSION="1.7"
install:
- pip install tox
- pip install "Django>=${DJANGO_VERSION},<${DJANGO_VERSION}.999" jinja2
script:
- tox -e $TOX_ENV
- python run_tests.py

View File

@ -1,6 +1,6 @@
# These are the reqs to build docs and run tests.
Django==1.5.2
Django<1.9
sphinx
jinja2==2.7
jinja2
nose
mock

View File

@ -6,7 +6,6 @@ toxworkdir = {homedir}/.tox-jingo
commands =
python run_tests.py
deps =
sphinx
jinja2
nose
mock